<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>ESP8266 ILI9341 display support code with printf sources, wire-frame viewer and custom fonts: posix/posix.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">ESP8266 ILI9341 display support code with printf sources, wire-frame viewer and custom fonts
   &#160;<span id="projectnumber">1.0</span>
   </div>
   <div id="projectbrief">ESP8266ILI9341DisplayProject</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_201f8e026df3a06f760b6173e807b6b9.html">posix</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">posix.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="posix_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="preprocessor">#ifndef _POSIX_H_</span></div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="preprocessor">#define _POSIX_H_</span></div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;</div><div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="posix_8h.html#a1c3d85ae80df5590fa314acffd8bf840">   30</a></span>&#160;<span class="preprocessor">#define POSIX</span></div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;</div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="preprocessor">#undef EDOM</span></div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="preprocessor">#undef ERANGE</span></div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;</div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="preprocessor">#ifdef ESP8266</span></div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="preprocessor">#undef strerror_r</span></div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;</div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="comment">// =============================================</span></div><div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="posix_8h.html#a451f1b5788fa7cc5d33db47a5992e7a6">   45</a></span>&#160;<span class="comment"></span><span class="keyword">typedef</span> <a class="code" href="send_8c.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a> <a class="code" href="posix_8h.html#a451f1b5788fa7cc5d33db47a5992e7a6">dev_t</a>;     <span class="comment">/*&lt; dev_t for this architecture */</span></div><div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="posix_8h.html#aed4e918b44240739869c4bdb1c4787a9">   46</a></span>&#160;<span class="keyword">typedef</span> <a class="code" href="send_8c.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a> <a class="code" href="posix_8h.html#aed4e918b44240739869c4bdb1c4787a9">ino_t</a>;     <span class="comment">/*&lt; ino_t for this architecture */</span></div><div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="posix_8h.html#af8f4385bb42836d1e3ad4fea9d71d1b9">   47</a></span>&#160;<span class="keyword">typedef</span> <a class="code" href="send_8c.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a> <a class="code" href="posix_8h.html#af8f4385bb42836d1e3ad4fea9d71d1b9">mode_t</a>;    <span class="comment">/*&lt; mode_t for this architecture */</span></div><div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="posix_8h.html#a9e3c03dae15b90102eb1770dd95adadc">   48</a></span>&#160;<span class="keyword">typedef</span> <a class="code" href="send_8c.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a> <a class="code" href="posix_8h.html#a9e3c03dae15b90102eb1770dd95adadc">nlink_t</a>;   <span class="comment">/*&lt; nlink_t for this architecture */</span> </div><div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="posix_8h.html#a0f43c63879b4ab6960f41e756392c77d">   49</a></span>&#160;<span class="keyword">typedef</span> <a class="code" href="send_8c.html#a273cf69d639a59973b6019625df33e30">uint16_t</a> <a class="code" href="posix_8h.html#a0f43c63879b4ab6960f41e756392c77d">uid_t</a>;     <span class="comment">/*&lt; uid_t for this architecture */</span></div><div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="posix_8h.html#a5569b17fdf47f9bb7e3b4b94aa083c39">   50</a></span>&#160;<span class="keyword">typedef</span> <a class="code" href="send_8c.html#a273cf69d639a59973b6019625df33e30">uint16_t</a> <a class="code" href="posix_8h.html#a5569b17fdf47f9bb7e3b4b94aa083c39">gid_t</a>;     <span class="comment">/*&lt; gid_t for this architecture */</span></div><div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="posix_8h.html#aac46e03c2018bada012333c31f41df12">   51</a></span>&#160;<span class="keyword">typedef</span> <a class="code" href="send_8c.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a> <a class="code" href="posix_8h.html#aac46e03c2018bada012333c31f41df12">off_t</a>;     <span class="comment">/*&lt; off_t for this architecture */</span></div><div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="posix_8h.html#a2706f994576080967d7633282dfcabbf">   52</a></span>&#160;<span class="keyword">typedef</span> <a class="code" href="send_8c.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a> <a class="code" href="posix_8h.html#a2706f994576080967d7633282dfcabbf">blkcnt_t</a>;  <span class="comment">/*&lt; blkcnt_t for this architecture */</span></div><div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="posix_8h.html#a390f3028d0805a15c3d28ee27439c389">   53</a></span>&#160;<span class="keyword">typedef</span> <a class="code" href="send_8c.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a> <a class="code" href="posix_8h.html#a390f3028d0805a15c3d28ee27439c389">blksize_t</a>; <span class="comment">/*&lt; blksize_t for this architecture */</span></div><div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="posix_8h.html#a3346b04b0420b32ccf6b706551b70762">   54</a></span>&#160;<span class="keyword">typedef</span> <a class="code" href="send_8c.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a> <a class="code" href="posix_8h.html#a3346b04b0420b32ccf6b706551b70762">time_t</a>;    <span class="comment">/*&lt; time_t for this architecture */</span></div><div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="posix_8h.html#a170745d0d946e79c4c2a056d1d158996">   55</a></span>&#160;<span class="keyword">typedef</span> <a class="code" href="earth2wireframe_8c.html#a32f2e37ee053cf2ce8ca28d1f74630e5">int32_t</a>  <a class="code" href="posix_8h.html#a170745d0d946e79c4c2a056d1d158996">ssize_t</a>;   <span class="comment">/*&lt; ssize_t for this architecture */</span></div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;<span class="comment">// =============================================</span></div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;</div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;<span class="comment">// =============================================</span></div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;</div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;<span class="comment">// @brief posix errno values</span></div><div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6a">   61</a></span>&#160;<span class="keyword">enum</span> <a class="code" href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6a">POSIX_errno</a></div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;{</div><div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aa1c6a3022e8b55d43daf722d13d7e0669">   63</a></span>&#160;    <a class="code" href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aa1c6a3022e8b55d43daf722d13d7e0669">EOK</a>,        <span class="comment">/*&lt;     0   NO ERROR */</span></div><div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aa156dcc38d9ba0765c6150544963ed267">   64</a></span>&#160;    <a class="code" href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aa156dcc38d9ba0765c6150544963ed267">EPERM</a>,     <span class="comment">/*&lt;  1   Operation not permitted */</span></div><div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aa996f6f948b613bccc738ff8517413c1a">   65</a></span>&#160;    <a class="code" href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aa996f6f948b613bccc738ff8517413c1a">ENOENT</a>,    <span class="comment">/*&lt;  2   No such file or directory */</span></div><div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aa4e376a13d0c1557d399f473218915625">   66</a></span>&#160;    <a class="code" href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aa4e376a13d0c1557d399f473218915625">ESRCH</a>,     <span class="comment">/*&lt;  3   No such process */</span></div><div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aa8cc241d56d59d11ceea8efc37bec8ed4">   67</a></span>&#160;    <a class="code" href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aa8cc241d56d59d11ceea8efc37bec8ed4">EINTR</a>,     <span class="comment">/*&lt;  4   Interrupted system call */</span></div><div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aa6d2c32b1730ea078f2802b34b1258a4c">   68</a></span>&#160;    <a class="code" href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aa6d2c32b1730ea078f2802b34b1258a4c">EIO</a>,       <span class="comment">/*&lt;  5   I/O error */</span></div><div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aa1c0d17ac093eff038b479dba021361bb">   69</a></span>&#160;    <a class="code" href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aa1c0d17ac093eff038b479dba021361bb">ENXIO</a>,     <span class="comment">/*&lt;  6   No such device or address */</span></div><div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aa755e0cbde2880a406893ad61304bac29">   70</a></span>&#160;    <a class="code" href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aa755e0cbde2880a406893ad61304bac29">E2BIG</a>,     <span class="comment">/*&lt;  7   Argument list too long */</span></div><div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aadabd09d64c920a9a75f60165fda651d5">   71</a></span>&#160;    <a class="code" href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aadabd09d64c920a9a75f60165fda651d5">ENOEXEC</a>,   <span class="comment">/*&lt;  8   Exec format error */</span></div><div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aa87d4476eed38f45439e257081c9de369">   72</a></span>&#160;    <a class="code" href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aa87d4476eed38f45439e257081c9de369">EBADF</a>,     <span class="comment">/*&lt;  9   Bad file number */</span></div><div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aae63e89f8fc44ef75addd0c1acc9c4828">   73</a></span>&#160;    <a class="code" href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aae63e89f8fc44ef75addd0c1acc9c4828">ECHILD</a>,    <span class="comment">/*&lt;  10  No child processes */</span></div><div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aa4bde0de54c0b708a605ed5095959c14e">   74</a></span>&#160;    <a class="code" href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aa4bde0de54c0b708a605ed5095959c14e">EAGAIN</a>,    <span class="comment">/*&lt;  11  Try again */</span></div><div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aaec0aa1bb79e2e55ed6d8c165e0611eca">   75</a></span>&#160;    <a class="code" href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aaec0aa1bb79e2e55ed6d8c165e0611eca">ENOMEM</a>,    <span class="comment">/*&lt;  12  Out of memory */</span></div><div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aa5fa7d65262e81125cecb27e80a26ce98">   76</a></span>&#160;    <a class="code" href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aa5fa7d65262e81125cecb27e80a26ce98">EACCES</a>,    <span class="comment">/*&lt;  13  Permission denied */</span></div><div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aaf740610de680c2861ac4042ad4485d15">   77</a></span>&#160;    <a class="code" href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aaf740610de680c2861ac4042ad4485d15">EFAULT</a>,    <span class="comment">/*&lt;  14  Bad address */</span></div><div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aaee10bd01c67a10db950db7d8b814ef3e">   78</a></span>&#160;    <a class="code" href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aaee10bd01c67a10db950db7d8b814ef3e">ENOTBLK</a>,   <span class="comment">/*&lt;  15  Block device required */</span></div><div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aa9e2f813a51a5763a892f4b1783778e4b">   79</a></span>&#160;    <a class="code" href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aa9e2f813a51a5763a892f4b1783778e4b">EBUSY</a>,     <span class="comment">/*&lt;  16  Device or resource busy */</span></div><div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aa523e02a73d840e490c14a179a997627e">   80</a></span>&#160;    <a class="code" href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aa523e02a73d840e490c14a179a997627e">EEXIST</a>,    <span class="comment">/*&lt;  17  File exists */</span></div><div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aa953d85d9cf4a55d49811d920c169eded">   81</a></span>&#160;    <a class="code" href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aa953d85d9cf4a55d49811d920c169eded">EXDEV</a>,     <span class="comment">/*&lt;  18  Cross-device link */</span></div><div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aae350307a3417656c8cabc816ba8d07cd">   82</a></span>&#160;    <a class="code" href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aae350307a3417656c8cabc816ba8d07cd">ENODEV</a>,    <span class="comment">/*&lt;  19  No such device */</span></div><div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aa8cd7a7b948ee085bbaeb2a210b412d6e">   83</a></span>&#160;    <a class="code" href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aa8cd7a7b948ee085bbaeb2a210b412d6e">ENOTDIR</a>,   <span class="comment">/*&lt;  20  Not a directory */</span></div><div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aa6a73363cf3fa4dc0d77c4cb3b9d83321">   84</a></span>&#160;    <a class="code" href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aa6a73363cf3fa4dc0d77c4cb3b9d83321">EISDIR</a>,    <span class="comment">/*&lt;  21  Is a directory */</span></div><div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aa7bfd237190819a0a272db7b0aa61d5c8">   85</a></span>&#160;    <a class="code" href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aa7bfd237190819a0a272db7b0aa61d5c8">EINVAL</a>,    <span class="comment">/*&lt;  22  Invalid argument */</span></div><div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aaf8ee28f2eeab568a1b641f6ffc1f90a8">   86</a></span>&#160;    <a class="code" href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aaf8ee28f2eeab568a1b641f6ffc1f90a8">ENFILE</a>,    <span class="comment">/*&lt;  23  File table overflow */</span></div><div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aa0191be5a8b35e30991789c9fe4b2c4cf">   87</a></span>&#160;    <a class="code" href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aa0191be5a8b35e30991789c9fe4b2c4cf">EMFILE</a>,    <span class="comment">/*&lt;  24  Too many open files */</span></div><div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aaf3dc036138d242739c3dbe36c5dfa095">   88</a></span>&#160;    <a class="code" href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aaf3dc036138d242739c3dbe36c5dfa095">ENOTTY</a>,    <span class="comment">/*&lt;  25  Not a typewriter */</span></div><div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aa83ea4e18eaac3a62036e1b5723d6e353">   89</a></span>&#160;    <a class="code" href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aa83ea4e18eaac3a62036e1b5723d6e353">ETXTBSY</a>,   <span class="comment">/*&lt;  26  Text file busy */</span></div><div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aa3d9f70d8ebd10e9d4aa420b9cb22cb53">   90</a></span>&#160;    <a class="code" href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aa3d9f70d8ebd10e9d4aa420b9cb22cb53">EFBIG</a>,     <span class="comment">/*&lt;  27  File too large */</span></div><div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aa2b5265f4c8556b15ec913f61caade1eb">   91</a></span>&#160;    <a class="code" href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aa2b5265f4c8556b15ec913f61caade1eb">ENOSPC</a>,    <span class="comment">/*&lt;  28  No space left on device */</span></div><div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aa9e5433f0863ce3470329184a3ee495a7">   92</a></span>&#160;    <a class="code" href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aa9e5433f0863ce3470329184a3ee495a7">ESPIPE</a>,    <span class="comment">/*&lt;  29  Illegal seek */</span></div><div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aa56198247acea7520ae5c6005fbe76a31">   93</a></span>&#160;    <a class="code" href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aa56198247acea7520ae5c6005fbe76a31">EROFS</a>,     <span class="comment">/*&lt;  30  Read-only file system */</span></div><div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aae8a4cdbd60a66eb9705bcb0a655e94fe">   94</a></span>&#160;    <a class="code" href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aae8a4cdbd60a66eb9705bcb0a655e94fe">EMLINK</a>,    <span class="comment">/*&lt;  31  Too many links */</span></div><div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aae573afaecfe768915268b5c70823ee70">   95</a></span>&#160;    <a class="code" href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aae573afaecfe768915268b5c70823ee70">EPIPE</a>,     <span class="comment">/*&lt;  32  Broken pipe */</span></div><div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aa21e6505c229a4508912c375435eb86a8">   96</a></span>&#160;    <a class="code" href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aa21e6505c229a4508912c375435eb86a8">EDOM</a>,      <span class="comment">/*&lt;  33  Math argument out of domain of func */</span></div><div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aa3ffb99860526d55ef132365553694c3d">   97</a></span>&#160;    <a class="code" href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aa3ffb99860526d55ef132365553694c3d">ERANGE</a>,    <span class="comment">/*&lt;  34  Math result not representable */</span></div><div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aa952ba8aa5afef31b7893ed91ae13a56c">   98</a></span>&#160;    <a class="code" href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aa952ba8aa5afef31b7893ed91ae13a56c">EBADMSG</a>    <span class="comment">/*&lt;  35  Bad Message */</span></div><div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;};</div><div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;<span class="comment">// =============================================</span></div><div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;</div><div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="structstat.html">  105</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structstat.html">stat</a></div><div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;{</div><div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="structstat.html#ac5b90090ae323741ae4c9e4f3683a29f">  107</a></span>&#160;    <a class="code" href="posix_8h.html#a451f1b5788fa7cc5d33db47a5992e7a6">dev_t</a>     <a class="code" href="structstat.html#ac5b90090ae323741ae4c9e4f3683a29f">st_dev</a>;    <span class="comment">/*&lt;  ID of device containing file */</span></div><div class="line"><a name="l00108"></a><span class="lineno"><a class="line" href="structstat.html#a9769ed8f0d4c5a9f329c32bc92479d56">  108</a></span>&#160;    <a class="code" href="posix_8h.html#aed4e918b44240739869c4bdb1c4787a9">ino_t</a>     <a class="code" href="structstat.html#a9769ed8f0d4c5a9f329c32bc92479d56">st_ino</a>;    <span class="comment">/*&lt;  inode number */</span></div><div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="structstat.html#a5cbdd829011af82ba61e83773bbcbc7d">  109</a></span>&#160;    <a class="code" href="posix_8h.html#af8f4385bb42836d1e3ad4fea9d71d1b9">mode_t</a>    <a class="code" href="structstat.html#a5cbdd829011af82ba61e83773bbcbc7d">st_mode</a>;   <span class="comment">/*&lt;  protection */</span></div><div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="structstat.html#a0ed9092fa6c77a3251b9b9a4738ef84f">  110</a></span>&#160;    <a class="code" href="posix_8h.html#a9e3c03dae15b90102eb1770dd95adadc">nlink_t</a>   <a class="code" href="structstat.html#a0ed9092fa6c77a3251b9b9a4738ef84f">st_nlink</a>;  <span class="comment">/*&lt;  number of hard links */</span></div><div class="line"><a name="l00111"></a><span class="lineno"><a class="line" href="structstat.html#a4a8708a3d18be60ee7b2f06c4cab0c70">  111</a></span>&#160;    <a class="code" href="posix_8h.html#a0f43c63879b4ab6960f41e756392c77d">uid_t</a>     <a class="code" href="structstat.html#a4a8708a3d18be60ee7b2f06c4cab0c70">st_uid</a>;    <span class="comment">/*&lt;  user ID of owner */</span></div><div class="line"><a name="l00112"></a><span class="lineno"><a class="line" href="structstat.html#ab864f16f436cec370f0ced585d897698">  112</a></span>&#160;    <a class="code" href="posix_8h.html#a5569b17fdf47f9bb7e3b4b94aa083c39">gid_t</a>     <a class="code" href="structstat.html#ab864f16f436cec370f0ced585d897698">st_gid</a>;    <span class="comment">/*&lt;  group ID of owner */</span></div><div class="line"><a name="l00113"></a><span class="lineno"><a class="line" href="structstat.html#aa61e6c1a8a91c69f1d26f6700a0546cb">  113</a></span>&#160;    <a class="code" href="posix_8h.html#a451f1b5788fa7cc5d33db47a5992e7a6">dev_t</a>     <a class="code" href="structstat.html#aa61e6c1a8a91c69f1d26f6700a0546cb">st_rdev</a>;   <span class="comment">/*&lt;  device ID (if special file) */</span></div><div class="line"><a name="l00114"></a><span class="lineno"><a class="line" href="structstat.html#a040e19c8b9766f841fde8786ce9297bf">  114</a></span>&#160;    <a class="code" href="posix_8h.html#aac46e03c2018bada012333c31f41df12">off_t</a>     <a class="code" href="structstat.html#a040e19c8b9766f841fde8786ce9297bf">st_size</a>;   <span class="comment">/*&lt;  total size, in bytes */</span></div><div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="structstat.html#a38d474e1ae3cf6fbdde89ac3c3e308f1">  115</a></span>&#160;    <a class="code" href="posix_8h.html#a390f3028d0805a15c3d28ee27439c389">blksize_t</a> <a class="code" href="structstat.html#a38d474e1ae3cf6fbdde89ac3c3e308f1">st_blksize</a>;<span class="comment">/*&lt;  blocksize for filesystem I/O */</span></div><div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="structstat.html#a42dd716b2f9234f961d949fc9500eefb">  116</a></span>&#160;    <a class="code" href="posix_8h.html#a2706f994576080967d7633282dfcabbf">blkcnt_t</a>  <a class="code" href="structstat.html#a42dd716b2f9234f961d949fc9500eefb">st_blocks</a>; <span class="comment">/*&lt;  number of 512B blocks allocated */</span></div><div class="line"><a name="l00117"></a><span class="lineno"><a class="line" href="structstat.html#ab74d1e7e345e88b9d0fb2688a97cba64">  117</a></span>&#160;    <a class="code" href="time_8h.html#a3346b04b0420b32ccf6b706551b70762">time_t</a>    <a class="code" href="structstat.html#ab74d1e7e345e88b9d0fb2688a97cba64">st_atime</a>;  <span class="comment">/*&lt;  time of last access */</span></div><div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="structstat.html#a77e235090f8cb6897f1c0ce65689006b">  118</a></span>&#160;    <a class="code" href="time_8h.html#a3346b04b0420b32ccf6b706551b70762">time_t</a>    <a class="code" href="structstat.html#a77e235090f8cb6897f1c0ce65689006b">st_mtime</a>;  <span class="comment">/*&lt;  time of last modification */</span></div><div class="line"><a name="l00119"></a><span class="lineno"><a class="line" href="structstat.html#a1b4b858db1ebe79c3d6e0fc1ef721024">  119</a></span>&#160;    <a class="code" href="time_8h.html#a3346b04b0420b32ccf6b706551b70762">time_t</a>    <a class="code" href="structstat.html#a1b4b858db1ebe79c3d6e0fc1ef721024">st_ctime</a>;  <span class="comment">/*&lt;  time of last status change */</span></div><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;};</div><div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;</div><div class="line"><a name="l00124"></a><span class="lineno"><a class="line" href="structutimbuf.html">  124</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structutimbuf.html">utimbuf</a></div><div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;{</div><div class="line"><a name="l00126"></a><span class="lineno"><a class="line" href="structutimbuf.html#aa39cf0bad7eff4df6239528506a557df">  126</a></span>&#160;   <a class="code" href="time_8h.html#a3346b04b0420b32ccf6b706551b70762">time_t</a> <a class="code" href="structutimbuf.html#aa39cf0bad7eff4df6239528506a557df">actime</a>;       <span class="comment">/* access time */</span></div><div class="line"><a name="l00127"></a><span class="lineno"><a class="line" href="structutimbuf.html#a7588ffe699a9eda52e94aa593bf7d6d8">  127</a></span>&#160;   <a class="code" href="time_8h.html#a3346b04b0420b32ccf6b706551b70762">time_t</a> <a class="code" href="structutimbuf.html#a7588ffe699a9eda52e94aa593bf7d6d8">modtime</a>;      <span class="comment">/* modification time */</span></div><div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;} <a class="code" href="posix_8h.html#ab29c02d05027f32f3f17bee2e4839777">utime_t</a>;</div><div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;</div><div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;<span class="preprocessor">#if _USE_LFN != 0</span></div><div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;<span class="preprocessor">#define MAX_NAME_LEN _MAX_LFN </span></div><div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00133"></a><span class="lineno"><a class="line" href="posix_8h.html#afd709f201d7643c3909621f620ea648a">  133</a></span>&#160;<span class="preprocessor">#define MAX_NAME_LEN 13</span></div><div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;</div><div class="line"><a name="l00136"></a><span class="lineno"><a class="line" href="structdirent.html">  136</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structdirent.html">dirent</a> {</div><div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;<span class="preprocessor">#if 0 // unsupported</span></div><div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;   <a class="code" href="posix_8h.html#aed4e918b44240739869c4bdb1c4787a9">ino_t</a>          d_ino;       <span class="comment">/* inode number */</span></div><div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;   <a class="code" href="posix_8h.html#aac46e03c2018bada012333c31f41df12">off_t</a>          d_off;       <span class="comment">/* not an offset; see NOTES */</span></div><div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;   <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> d_reclen;    <span class="comment">/* length of this record */</span></div><div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;   <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span>  d_type;      <span class="comment">/* type of file; not supported</span></div><div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;<span class="comment">                                  by all filesystem types */</span></div><div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00144"></a><span class="lineno"><a class="line" href="structdirent.html#ae61380f3ccbc6c32e8650d7bce76197b">  144</a></span>&#160;   <span class="keywordtype">char</span>           d_name[<a class="code" href="posix_8h.html#afd709f201d7643c3909621f620ea648a">MAX_NAME_LEN</a>]; <span class="comment">/* filename */</span></div><div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;};</div><div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;</div><div class="line"><a name="l00147"></a><span class="lineno"><a class="line" href="posix_8h.html#a6673e8f64ca9ebd7e26e6289dca06e87">  147</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structdirent.html">dirent</a> <a class="code" href="structdirent.html">dirent_t</a>;</div><div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;</div><div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;<span class="preprocessor">#</span></div><div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;</div><div class="line"><a name="l00153"></a><span class="lineno"><a class="line" href="posix_8h.html#ae730c85752284268b39560df693cb207">  153</a></span>&#160;<span class="preprocessor">#define lstat stat</span></div><div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;<span class="comment">// =============================================</span></div><div class="line"><a name="l00156"></a><span class="lineno"><a class="line" href="struct____file.html">  156</a></span>&#160;<span class="comment"></span><span class="keyword">struct </span><a class="code" href="struct____file.html">__file</a> {</div><div class="line"><a name="l00157"></a><span class="lineno"><a class="line" href="struct____file.html#a3e5a85ae919a90efbb7cb44ccb54fe46">  157</a></span>&#160;    <span class="keywordtype">char</span>    *<a class="code" href="struct____file.html#a3e5a85ae919a90efbb7cb44ccb54fe46">buf</a>;       <span class="comment">/* buffer pointer */</span></div><div class="line"><a name="l00158"></a><span class="lineno"><a class="line" href="struct____file.html#a1d139ae3cb11a1fada469a49f7d3d3b6">  158</a></span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="struct____file.html#a1d139ae3cb11a1fada469a49f7d3d3b6">unget</a>;    <span class="comment">/* ungetc() buffer */</span></div><div class="line"><a name="l00159"></a><span class="lineno"><a class="line" href="struct____file.html#a8d11df8679502efee09740f97d7c277b">  159</a></span>&#160;    <a class="code" href="send_8c.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> <a class="code" href="struct____file.html#a8d11df8679502efee09740f97d7c277b">flags</a>;      <span class="comment">/* flags, see below */</span></div><div class="line"><a name="l00160"></a><span class="lineno"><a class="line" href="posix_8h.html#a9a9bfdbe4548d021af62fb947d2b6b82">  160</a></span>&#160;<span class="preprocessor">#define __SRD   0x0001      </span><span class="comment">/* OK to read */</span><span class="preprocessor"></span></div><div class="line"><a name="l00161"></a><span class="lineno"><a class="line" href="posix_8h.html#af08f227b04a8833c49ce8b798ca7f403">  161</a></span>&#160;<span class="preprocessor">#define __SWR   0x0002      </span><span class="comment">/* OK to write */</span><span class="preprocessor"></span></div><div class="line"><a name="l00162"></a><span class="lineno"><a class="line" href="posix_8h.html#a7934343459dfe68ced51599a7b9a316f">  162</a></span>&#160;<span class="preprocessor">#define __SSTR  0x0004      </span><span class="comment">/* this is an sprintf/snprintf string */</span><span class="preprocessor"></span></div><div class="line"><a name="l00163"></a><span class="lineno"><a class="line" href="posix_8h.html#a4f8a55506b9fec8dff9442bec5a86dee">  163</a></span>&#160;<span class="preprocessor">#define __SPGM  0x0008      </span><span class="comment">/* fmt string is in progmem */</span><span class="preprocessor"></span></div><div class="line"><a name="l00164"></a><span class="lineno"><a class="line" href="posix_8h.html#a37117409538ffeec47002d6580e4b703">  164</a></span>&#160;<span class="preprocessor">#define __SERR  0x0010      </span><span class="comment">/* found error */</span><span class="preprocessor"></span></div><div class="line"><a name="l00165"></a><span class="lineno"><a class="line" href="posix_8h.html#a63f42c2888ed9bd0f00ee25002ee3b02">  165</a></span>&#160;<span class="preprocessor">#define __SEOF  0x0020      </span><span class="comment">/* found EOF */</span><span class="preprocessor"></span></div><div class="line"><a name="l00166"></a><span class="lineno"><a class="line" href="posix_8h.html#ad541703cea6b378290dcf2ea448d2879">  166</a></span>&#160;<span class="preprocessor">#define __SUNGET 0x040      </span><span class="comment">/* ungetc() happened */</span><span class="preprocessor"></span></div><div class="line"><a name="l00167"></a><span class="lineno"><a class="line" href="posix_8h.html#a910f0d9b3aff8a868393ce38fe91cc7d">  167</a></span>&#160;<span class="preprocessor">#define __SMALLOC 0x80      </span><span class="comment">/* handle is malloc()ed */</span><span class="preprocessor"></span></div><div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;<span class="preprocessor">#if 0</span></div><div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;    <span class="comment">/* possible future extensions, will require uint16_t flags */</span></div><div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;<span class="preprocessor">    #define __SRW   0x0100      </span><span class="comment">/* open for reading &amp; writing */</span><span class="preprocessor"></span></div><div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;<span class="preprocessor">    #define __SLBF  0x0200      </span><span class="comment">/* line buffered */</span><span class="preprocessor"></span></div><div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;<span class="preprocessor">    #define __SNBF  0x0400      </span><span class="comment">/* unbuffered */</span><span class="preprocessor"></span></div><div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;<span class="preprocessor">    #define __SMBF  0x0800      </span><span class="comment">/* buf is from malloc */</span><span class="preprocessor"></span></div><div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00175"></a><span class="lineno"><a class="line" href="struct____file.html#aff4a1ca8b6a12460812928afae81248d">  175</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="struct____file.html#aff4a1ca8b6a12460812928afae81248d">size</a>;       <span class="comment">/* size of buffer */</span></div><div class="line"><a name="l00176"></a><span class="lineno"><a class="line" href="struct____file.html#a30309efd13a75ed510bb2370debafaf8">  176</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="struct____file.html#a30309efd13a75ed510bb2370debafaf8">len</a>;        <span class="comment">/* characters read or written so far */</span></div><div class="line"><a name="l00177"></a><span class="lineno"><a class="line" href="struct____file.html#a01c8b217e42cc11b6a7f8429114e9d46">  177</a></span>&#160;    int (*put)(char, <span class="keyword">struct </span><a class="code" href="struct____file.html">__file</a> *);                  <span class="comment">/* write one char to device */</span></div><div class="line"><a name="l00178"></a><span class="lineno"><a class="line" href="struct____file.html#a2d816b077c3af0425344fe4b283dad33">  178</a></span>&#160;    int (*<span class="keyword">get</span>)(<span class="keyword">struct </span><a class="code" href="struct____file.html">__file</a> *);                        <span class="comment">/* read one char from device */</span></div><div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;<span class="comment">// FIXME add all low level functions here like _open, _close, ... like newlib does</span></div><div class="line"><a name="l00180"></a><span class="lineno"><a class="line" href="struct____file.html#abe6f3bdb4df4119277132eb3e13a4628">  180</a></span>&#160;    <span class="keywordtype">void</span>    *<a class="code" href="struct____file.html#abe6f3bdb4df4119277132eb3e13a4628">udata</a>;     <span class="comment">/* User defined and accessible data. */</span></div><div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;};</div><div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;<span class="comment">// =============================================</span></div><div class="line"><a name="l00186"></a><span class="lineno"><a class="line" href="posix_8h.html#a4dc4d45e07d2abc899bcaf04b2846a87">  186</a></span>&#160;<span class="comment"></span><span class="preprocessor">#define O_ACCMODE  00000003 </span><span class="comment">/*&lt; read, write, read-write modes */</span><span class="preprocessor"></span></div><div class="line"><a name="l00187"></a><span class="lineno"><a class="line" href="posix_8h.html#a7a68c9ffaac7dbcd652225dd7c06a54b">  187</a></span>&#160;<span class="preprocessor">#define O_RDONLY   00000000 </span><span class="comment">/*&lt; Read only */</span><span class="preprocessor"></span></div><div class="line"><a name="l00188"></a><span class="lineno"><a class="line" href="posix_8h.html#a11b644a8526139c4cc1850dac1271ced">  188</a></span>&#160;<span class="preprocessor">#define O_WRONLY   00000001 </span><span class="comment">/*&lt; Write only */</span><span class="preprocessor"></span></div><div class="line"><a name="l00189"></a><span class="lineno"><a class="line" href="posix_8h.html#abb0586253488ee61072b73557eeb873b">  189</a></span>&#160;<span class="preprocessor">#define O_RDWR     00000002 </span><span class="comment">/*&lt; Read/Write */</span><span class="preprocessor"></span></div><div class="line"><a name="l00190"></a><span class="lineno"><a class="line" href="posix_8h.html#a1cf6b1de1fffedaa1d26b189e9a8d2cc">  190</a></span>&#160;<span class="preprocessor">#define O_CREAT    00000100 </span><span class="comment">/*&lt; Create file only if it does not exist */</span><span class="preprocessor"></span></div><div class="line"><a name="l00191"></a><span class="lineno"><a class="line" href="posix_8h.html#a9f5acfe79fafe14b6694447bd0e9f10b">  191</a></span>&#160;<span class="preprocessor">#define O_EXCL     00000200 </span><span class="comment">/*&lt; O_CREAT option, Create fails if file exists </span></div><div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;<span class="comment">*/</span><span class="preprocessor"></span></div><div class="line"><a name="l00193"></a><span class="lineno"><a class="line" href="posix_8h.html#a2e375ab32c7ef4581b026be28e4cc116">  193</a></span>&#160;<span class="preprocessor">#define O_NOCTTY   00000400 </span><span class="comment">/*&lt; @todo */</span><span class="preprocessor"></span></div><div class="line"><a name="l00194"></a><span class="lineno"><a class="line" href="posix_8h.html#ad1d67e453fb3031f40f8cd3403773813">  194</a></span>&#160;<span class="preprocessor">#define O_TRUNC    00001000 </span><span class="comment">/*&lt; Truncate if exists */</span><span class="preprocessor"></span></div><div class="line"><a name="l00195"></a><span class="lineno"><a class="line" href="posix_8h.html#ae036f789407d21f07b211552d67b3214">  195</a></span>&#160;<span class="preprocessor">#define O_APPEND   00002000 </span><span class="comment">/*&lt; All writes are to EOF */</span><span class="preprocessor"></span></div><div class="line"><a name="l00196"></a><span class="lineno"><a class="line" href="posix_8h.html#a39d33ce33804efd4d52606d59071c6d8">  196</a></span>&#160;<span class="preprocessor">#define O_NONBLOCK 00004000 </span><span class="comment">/*&lt; @todo */</span><span class="preprocessor"></span></div><div class="line"><a name="l00197"></a><span class="lineno"><a class="line" href="posix_8h.html#a36fa9b2e726512bc17a7a6d3e39002be">  197</a></span>&#160;<span class="preprocessor">#define O_BINARY   00000004 </span><span class="comment">/*&lt; Binary */</span><span class="preprocessor"></span></div><div class="line"><a name="l00198"></a><span class="lineno"><a class="line" href="posix_8h.html#a9abb6d01b83e0bc5a6e2adeceb7dffd7">  198</a></span>&#160;<span class="preprocessor">#define O_TEXT     00000004 </span><span class="comment">/*&lt; Text End Of Line translation */</span><span class="preprocessor"></span></div><div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;</div><div class="line"><a name="l00201"></a><span class="lineno"><a class="line" href="posix_8h.html#ab5bee51e9ee68b83ab11d4b340f7200b">  201</a></span>&#160;<span class="preprocessor">#define S_IFMT     0170000  </span><span class="comment">/*&lt; These bits determine file type.  */</span><span class="preprocessor"></span></div><div class="line"><a name="l00202"></a><span class="lineno"><a class="line" href="posix_8h.html#a11fb0652b963a735f3377eb1c9239f2d">  202</a></span>&#160;<span class="preprocessor">#define S_IFDIR    0040000  </span><span class="comment">/*&lt; Directory.  */</span><span class="preprocessor"></span></div><div class="line"><a name="l00203"></a><span class="lineno"><a class="line" href="posix_8h.html#aef3a1d1ba22c83e30b5c834dd343b2a8">  203</a></span>&#160;<span class="preprocessor">#define S_IFCHR    0020000  </span><span class="comment">/*&lt; Character device.  */</span><span class="preprocessor"></span></div><div class="line"><a name="l00204"></a><span class="lineno"><a class="line" href="posix_8h.html#a5c5b74a1cb1a1ae83572500b94e1938f">  204</a></span>&#160;<span class="preprocessor">#define S_IFBLK    0060000  </span><span class="comment">/*&lt; Block device.  */</span><span class="preprocessor"></span></div><div class="line"><a name="l00205"></a><span class="lineno"><a class="line" href="posix_8h.html#a1aaa48b192a5dd3b6d7ee91fc98cd17d">  205</a></span>&#160;<span class="preprocessor">#define S_IFREG    0100000  </span><span class="comment">/*&lt; Regular file.  */</span><span class="preprocessor"></span></div><div class="line"><a name="l00206"></a><span class="lineno"><a class="line" href="posix_8h.html#a4966f25d9f03a7a06bc47ac729fd86cf">  206</a></span>&#160;<span class="preprocessor">#define S_IFIFO    0010000  </span><span class="comment">/*&lt; FIFO.  */</span><span class="preprocessor"></span></div><div class="line"><a name="l00207"></a><span class="lineno"><a class="line" href="posix_8h.html#afef163ce62372757e84bd9fc88c07aad">  207</a></span>&#160;<span class="preprocessor">#define S_IFLNK    0120000  </span><span class="comment">/*&lt; Symbolic link.  */</span><span class="preprocessor"></span></div><div class="line"><a name="l00208"></a><span class="lineno"><a class="line" href="posix_8h.html#a28e80cd43106882904be148b2a397d42">  208</a></span>&#160;<span class="preprocessor">#define S_IFSOCK   0140000  </span><span class="comment">/*&lt; Socket.  */</span><span class="preprocessor"></span></div><div class="line"><a name="l00209"></a><span class="lineno"><a class="line" href="posix_8h.html#a96c6486aa02a821aa4199525f5e79f60">  209</a></span>&#160;<span class="preprocessor">#define S_IREAD    0400     </span><span class="comment">/*&lt; Read by owner.  */</span><span class="preprocessor"></span></div><div class="line"><a name="l00210"></a><span class="lineno"><a class="line" href="posix_8h.html#a40eb4ad4bcc675d265615042657c37b7">  210</a></span>&#160;<span class="preprocessor">#define S_IWRITE   0200     </span><span class="comment">/*&lt; Write by owner.  */</span><span class="preprocessor"></span></div><div class="line"><a name="l00211"></a><span class="lineno"><a class="line" href="posix_8h.html#a49a6665b56f38f52ee9b157cefcf4d68">  211</a></span>&#160;<span class="preprocessor">#define S_IEXEC    0100     </span><span class="comment">/*&lt; Execute by owner.  */</span><span class="preprocessor"></span></div><div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;</div><div class="line"><a name="l00214"></a><span class="lineno"><a class="line" href="posix_8h.html#adc77a7a79522cf692b584af4b20cd256">  214</a></span>&#160;<span class="preprocessor">#define S_ISTYPE(mode, mask)  (((mode) &amp; S_IFMT) == (mask))</span></div><div class="line"><a name="l00215"></a><span class="lineno"><a class="line" href="posix_8h.html#a3746cdc5aac871e6f6504fbcbd29ef1d">  215</a></span>&#160;<span class="preprocessor">#define S_ISDIR(mode)    S_ISTYPE((mode), S_IFDIR)</span></div><div class="line"><a name="l00216"></a><span class="lineno"><a class="line" href="posix_8h.html#aae33be85d242a1317f972cf2b189f03d">  216</a></span>&#160;<span class="preprocessor">#define S_ISCHR(mode)    S_ISTYPE((mode), S_IFCHR)</span></div><div class="line"><a name="l00217"></a><span class="lineno"><a class="line" href="posix_8h.html#a8b86a24d84c3cfce39cc832a017656ba">  217</a></span>&#160;<span class="preprocessor">#define S_ISBLK(mode)    S_ISTYPE((mode), S_IFBLK)</span></div><div class="line"><a name="l00218"></a><span class="lineno"><a class="line" href="posix_8h.html#aad0f32c2c182238f2ff71c83e6ab65a0">  218</a></span>&#160;<span class="preprocessor">#define S_ISREG(mode)    S_ISTYPE((mode), S_IFREG)</span></div><div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;</div><div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;<span class="comment">//@brief POSIX File permissions, see fstat and stat  </span></div><div class="line"><a name="l00221"></a><span class="lineno"><a class="line" href="posix_8h.html#a84c7dbf5cf2fdfb690f76348b60a8cb7">  221</a></span>&#160;<span class="preprocessor">#define S_IRUSR S_IREAD                     </span><span class="comment">/*&lt; Read by owner.  */</span><span class="preprocessor"></span></div><div class="line"><a name="l00222"></a><span class="lineno"><a class="line" href="posix_8h.html#ad70001754261c15a1bdc8e876c6d09d7">  222</a></span>&#160;<span class="preprocessor">#define S_IWUSR S_IWRITE                    </span><span class="comment">/*&lt; Write by owner.  */</span><span class="preprocessor"></span></div><div class="line"><a name="l00223"></a><span class="lineno"><a class="line" href="posix_8h.html#af10a35e3950795d6ee4e07157d000131">  223</a></span>&#160;<span class="preprocessor">#define S_IXUSR S_IEXEC                     </span><span class="comment">/*&lt; Execute by owner.  */</span><span class="preprocessor"></span></div><div class="line"><a name="l00224"></a><span class="lineno"><a class="line" href="posix_8h.html#afe3da42e762f6362c93454682fad5eb5">  224</a></span>&#160;<span class="preprocessor">#define S_IRWXU (S_IREAD|S_IWRITE|S_IEXEC)  </span><span class="comment">/*&lt; Read,Write,Execute by owner */</span><span class="preprocessor"></span></div><div class="line"><a name="l00225"></a><span class="lineno">  225</span>&#160;</div><div class="line"><a name="l00226"></a><span class="lineno"><a class="line" href="posix_8h.html#a4f5f280b929768113739fb34d6f7be8a">  226</a></span>&#160;<span class="preprocessor">#define S_IRGRP (S_IRUSR &gt;&gt; 3)              </span><span class="comment">/*&lt; Read by group.  */</span><span class="preprocessor"></span></div><div class="line"><a name="l00227"></a><span class="lineno"><a class="line" href="posix_8h.html#ae6774871a90d9442f00abe18b87fee6e">  227</a></span>&#160;<span class="preprocessor">#define S_IWGRP (S_IWUSR &gt;&gt; 3)              </span><span class="comment">/*&lt; Write by group.  */</span><span class="preprocessor"></span></div><div class="line"><a name="l00228"></a><span class="lineno"><a class="line" href="posix_8h.html#a042e69ac0e7dd56e5cfcd9e97d010323">  228</a></span>&#160;<span class="preprocessor">#define S_IXGRP (S_IXUSR &gt;&gt; 3)              </span><span class="comment">/*&lt; Execute by group.  */</span><span class="preprocessor"></span></div><div class="line"><a name="l00229"></a><span class="lineno"><a class="line" href="posix_8h.html#a230c642d2bb81f15f85c122b1883de5c">  229</a></span>&#160;<span class="preprocessor">#define S_IRWXG (S_IRWXU &gt;&gt; 3)              </span><span class="comment">/*&lt; Read,Write,Execute by user */</span><span class="preprocessor"></span></div><div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160;</div><div class="line"><a name="l00231"></a><span class="lineno"><a class="line" href="posix_8h.html#a071147a0cb995036967c80f64b1f74b9">  231</a></span>&#160;<span class="preprocessor">#define S_IROTH (S_IRGRP &gt;&gt; 3)              </span><span class="comment">/*&lt; Read by others.  */</span><span class="preprocessor"></span></div><div class="line"><a name="l00232"></a><span class="lineno"><a class="line" href="posix_8h.html#a5303f49f26293acdb9533756c78322fb">  232</a></span>&#160;<span class="preprocessor">#define S_IWOTH (S_IWGRP &gt;&gt; 3)              </span><span class="comment">/*&lt; Write by others.  */</span><span class="preprocessor"></span></div><div class="line"><a name="l00233"></a><span class="lineno"><a class="line" href="posix_8h.html#a40223db1b95a04f5b28cceb3c34cfebd">  233</a></span>&#160;<span class="preprocessor">#define S_IXOTH (S_IXGRP &gt;&gt; 3)              </span><span class="comment">/*&lt; Execute by others.  */</span><span class="preprocessor"></span></div><div class="line"><a name="l00234"></a><span class="lineno"><a class="line" href="posix_8h.html#a5b93e0da7fe32bbd4926626bffad96b1">  234</a></span>&#160;<span class="preprocessor">#define S_IRWXO (S_IRWXG &gt;&gt; 3)              </span><span class="comment">/*&lt; Read,Write,Execute by other */</span><span class="preprocessor"></span></div><div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160;<span class="comment">// =============================================</span></div><div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160;</div><div class="line"><a name="l00238"></a><span class="lineno"><a class="line" href="posix_8h.html#a28002092a0615e21c9943a426e81015f">  238</a></span>&#160;<span class="preprocessor">#define modecmp(str, pat) (strcmp(str, pat) == 0 ? 1: 0)</span></div><div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160;</div><div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;<span class="comment">// =============================================</span></div><div class="line"><a name="l00242"></a><span class="lineno"><a class="line" href="posix_8h.html#ac5a6f01348af03d4c2cdd9d557880c4d">  242</a></span>&#160;<span class="comment"></span><span class="preprocessor">#define FATFS_R (S_IRUSR | S_IRGRP | S_IROTH)   </span><span class="comment">/*&lt; FatFs Read perms */</span><span class="preprocessor"></span></div><div class="line"><a name="l00243"></a><span class="lineno"><a class="line" href="posix_8h.html#a58a8434d968e434626088e2dc6ae6124">  243</a></span>&#160;<span class="preprocessor">#define FATFS_W (S_IWUSR | S_IWGRP | S_IWOTH)   </span><span class="comment">/*&lt; FatFs Write perms */</span><span class="preprocessor"></span></div><div class="line"><a name="l00244"></a><span class="lineno"><a class="line" href="posix_8h.html#a0a88f1032e29e7cc97a96b40cdc996a5">  244</a></span>&#160;<span class="preprocessor">#define FATFS_X (S_IXUSR | S_IXGRP | S_IXOTH)   </span><span class="comment">/*&lt; FatFs Execute perms */</span><span class="preprocessor"></span></div><div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160;</div><div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160;<span class="comment">// =============================================</span></div><div class="line"><a name="l00248"></a><span class="lineno"><a class="line" href="posix_8h.html#a59adc4c82490d23754cd39c2fb99b0da">  248</a></span>&#160;<span class="comment"></span><span class="preprocessor">#define EOF (-1)</span></div><div class="line"><a name="l00249"></a><span class="lineno">  249</span>&#160;</div><div class="line"><a name="l00251"></a><span class="lineno"><a class="line" href="posix_8h.html#a0d112bae8fd35be772185b6ec6bcbe64">  251</a></span>&#160;<span class="preprocessor">#define SEEK_SET 0</span></div><div class="line"><a name="l00252"></a><span class="lineno"><a class="line" href="posix_8h.html#a4c8d0b76b470ba65a43ca46a88320f39">  252</a></span>&#160;<span class="preprocessor">#define SEEK_CUR 1</span></div><div class="line"><a name="l00253"></a><span class="lineno"><a class="line" href="posix_8h.html#ad2a2e6c114780c3071efd24f16c7f7d8">  253</a></span>&#160;<span class="preprocessor">#define SEEK_END 2</span></div><div class="line"><a name="l00254"></a><span class="lineno">  254</span>&#160;</div><div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160;<span class="comment">// =============================================</span></div><div class="line"><a name="l00257"></a><span class="lineno"><a class="line" href="posix_8h.html#aed4dabeb9f7c518ded42f930a04abce8">  257</a></span>&#160;<span class="comment"></span><span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="struct____file.html">__file</a> <a class="code" href="struct____file.html">FILE</a>;</div><div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;</div><div class="line"><a name="l00260"></a><span class="lineno"><a class="line" href="posix_8h.html#a2c5eecb22513a88c24ae5831a3265e54">  260</a></span>&#160;<span class="preprocessor">#define MAX_FILES 16</span></div><div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160;<span class="keyword">extern</span> <a class="code" href="struct____file.html">FILE</a> *<a class="code" href="posix_8h.html#aae2f027325f7e73c3aa5e7dc990bd90d">__iob</a>[<a class="code" href="posix_8h.html#a2c5eecb22513a88c24ae5831a3265e54">MAX_FILES</a>];</div><div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160;</div><div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160;<span class="preprocessor">#undef stdin</span></div><div class="line"><a name="l00265"></a><span class="lineno">  265</span>&#160;<span class="preprocessor">#undef stdout</span></div><div class="line"><a name="l00266"></a><span class="lineno">  266</span>&#160;<span class="preprocessor">#undef stderr</span></div><div class="line"><a name="l00267"></a><span class="lineno">  267</span>&#160;</div><div class="line"><a name="l00268"></a><span class="lineno">  268</span>&#160;<span class="comment">// Hard coded stdin,stdout and stderr locations</span></div><div class="line"><a name="l00269"></a><span class="lineno"><a class="line" href="posix_8h.html#aaca70138f0cb63ddb026921afc635179">  269</a></span>&#160;<span class="preprocessor">#define stdin (__iob[0])</span></div><div class="line"><a name="l00270"></a><span class="lineno"><a class="line" href="posix_8h.html#a0c0ef221f95f64e8632451312fd18cc8">  270</a></span>&#160;<span class="preprocessor">#define stdout (__iob[1])</span></div><div class="line"><a name="l00271"></a><span class="lineno"><a class="line" href="posix_8h.html#a5ce35bd5ba5021fd3b2e951e8f497656">  271</a></span>&#160;<span class="preprocessor">#define stderr (__iob[2])</span></div><div class="line"><a name="l00272"></a><span class="lineno">  272</span>&#160;</div><div class="line"><a name="l00273"></a><span class="lineno">  273</span>&#160;<span class="comment">// =============================================</span></div><div class="line"><a name="l00274"></a><span class="lineno">  274</span>&#160;<span class="comment">//#define IO_MACROS</span></div><div class="line"><a name="l00275"></a><span class="lineno">  275</span>&#160;<span class="preprocessor">#ifdef IO_MACROS</span></div><div class="line"><a name="l00276"></a><span class="lineno">  276</span>&#160;<span class="preprocessor">#define putc(__c, __stream) fputc(__c, __stream)</span></div><div class="line"><a name="l00280"></a><span class="lineno">  280</span>&#160;<span class="preprocessor">#define getc(__stream) fgetc(__stream)</span></div><div class="line"><a name="l00281"></a><span class="lineno">  281</span>&#160;</div><div class="line"><a name="l00284"></a><span class="lineno">  284</span>&#160;<span class="preprocessor">#define putchar(__c) fputc(__c,stdout)</span></div><div class="line"><a name="l00285"></a><span class="lineno">  285</span>&#160;</div><div class="line"><a name="l00286"></a><span class="lineno">  286</span>&#160;<span class="preprocessor">#define puts(__str) fputs(__str,stdout)</span></div><div class="line"><a name="l00287"></a><span class="lineno">  287</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00288"></a><span class="lineno">  288</span>&#160;</div><div class="line"><a name="l00289"></a><span class="lineno">  289</span>&#160;<span class="comment">// =============================================</span></div><div class="line"><a name="l00291"></a><span class="lineno"><a class="line" href="posix_8h.html#a793fcb8f10b6b8746d4186012929ddf1">  291</a></span>&#160;<span class="comment"></span><span class="preprocessor">#define fdev_set_udata(stream, u) do { (stream)-&gt;udata = u; } while(0)</span></div><div class="line"><a name="l00292"></a><span class="lineno"><a class="line" href="posix_8h.html#ac04f5faa8e86a4ce4ae084d85386af40">  292</a></span>&#160;<span class="preprocessor">#define fdev_get_udata(stream) ((stream)-&gt;udata)</span></div><div class="line"><a name="l00293"></a><span class="lineno">  293</span>&#160;</div><div class="line"><a name="l00295"></a><span class="lineno"><a class="line" href="posix_8h.html#a280c47b9edff2751b8dbb9a715dc44c5">  295</a></span>&#160;<span class="preprocessor">#define _FDEV_EOF (-1)</span></div><div class="line"><a name="l00296"></a><span class="lineno"><a class="line" href="posix_8h.html#a132917c782a0ba854c3ae9abe57c3b12">  296</a></span>&#160;<span class="preprocessor">#define _FDEV_ERR (-2)</span></div><div class="line"><a name="l00297"></a><span class="lineno">  297</span>&#160;<span class="comment">//@brief device read/write flags</span></div><div class="line"><a name="l00298"></a><span class="lineno"><a class="line" href="posix_8h.html#a79826a1c733e4f67843256d34ad64352">  298</a></span>&#160;<span class="preprocessor">#define _FDEV_SETUP_READ  __SRD </span></div><div class="line"><a name="l00299"></a><span class="lineno"><a class="line" href="posix_8h.html#a822a791a1c06a12b95c14ace75b48ad2">  299</a></span>&#160;<span class="preprocessor">#define _FDEV_SETUP_WRITE __SWR </span></div><div class="line"><a name="l00300"></a><span class="lineno"><a class="line" href="posix_8h.html#a93db55caeeaf13488a635f8896a6bdf3">  300</a></span>&#160;<span class="preprocessor">#define _FDEV_SETUP_RW    (__SRD|__SWR) </span></div><div class="line"><a name="l00302"></a><span class="lineno">  302</span>&#160;<span class="preprocessor">// =============================================</span></div><div class="line"><a name="l00303"></a><span class="lineno">  303</span>&#160;</div><div class="line"><a name="l00304"></a><span class="lineno">  304</span>&#160;</div><div class="line"><a name="l00305"></a><span class="lineno">  305</span>&#160;<span class="comment">/* posix.c */</span></div><div class="line"><a name="l00306"></a><span class="lineno">  306</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="posix_8h.html#a31986cce890109c211ccb14151aafd0e">isatty</a> ( <span class="keywordtype">int</span> <a class="code" href="posix_8h.html#aceb657a1b3c10d576aed287714bfd5d1">fileno</a> );</div><div class="line"><a name="l00307"></a><span class="lineno">  307</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="posix_8h.html#a1d2fa24415329171e6765ed5309b6edd">fgetc</a> ( <a class="code" href="struct____file.html">FILE</a> *stream );</div><div class="line"><a name="l00308"></a><span class="lineno">  308</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="posix_8h.html#a6bdef0a37397953c3b0f14c4d5d0eb10">fputc</a> ( <span class="keywordtype">int</span> c , <a class="code" href="struct____file.html">FILE</a> *stream );</div><div class="line"><a name="l00309"></a><span class="lineno">  309</span>&#160;<span class="preprocessor">#ifndef IO_MACROS</span></div><div class="line"><a name="l00310"></a><span class="lineno">  310</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="posix_8h.html#ab38efc888190556f106cafb08d17d16f">getchar</a> ( <span class="keywordtype">void</span> );</div><div class="line"><a name="l00311"></a><span class="lineno">  311</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="posix_8h.html#ac9195b3de02e450cfdeea1ce97b32da4">putchar</a> ( <span class="keywordtype">int</span> c );</div><div class="line"><a name="l00312"></a><span class="lineno">  312</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00313"></a><span class="lineno">  313</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="posix_8h.html#af979e8f6598be71d68be7cc49a41626b">ungetc</a> ( <span class="keywordtype">int</span> c , <a class="code" href="struct____file.html">FILE</a> *stream );</div><div class="line"><a name="l00314"></a><span class="lineno">  314</span>&#160;<span class="preprocessor">#ifndef IO_MACROS</span></div><div class="line"><a name="l00315"></a><span class="lineno">  315</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="posix_8h.html#ae59fd612372df957f59fb3cdcbd8b9e9">putc</a> ( <span class="keywordtype">int</span> c , <a class="code" href="struct____file.html">FILE</a> *stream );</div><div class="line"><a name="l00316"></a><span class="lineno">  316</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00317"></a><span class="lineno">  317</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">char</span> *<a class="code" href="posix_8h.html#a3759827e157badd49d076bd157f508d9">fgets</a> ( <span class="keywordtype">char</span> *str , <span class="keywordtype">int</span> <a class="code" href="struct____file.html#aff4a1ca8b6a12460812928afae81248d">size</a> , <a class="code" href="struct____file.html">FILE</a> *stream );</div><div class="line"><a name="l00318"></a><span class="lineno">  318</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="posix_8h.html#a30a4070a8b1719d53cb01dd4b2a65069">fputs</a> ( <span class="keyword">const</span> <span class="keywordtype">char</span> *str , <a class="code" href="struct____file.html">FILE</a> *stream );</div><div class="line"><a name="l00319"></a><span class="lineno">  319</span>&#160;<span class="preprocessor">#ifndef IO_MACROS</span></div><div class="line"><a name="l00320"></a><span class="lineno">  320</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="posix_8h.html#aa360dd5203b246757abc21253ed8eb2e">puts</a> ( <span class="keyword">const</span> <span class="keywordtype">char</span> *str );</div><div class="line"><a name="l00321"></a><span class="lineno">  321</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00322"></a><span class="lineno">  322</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="posix_8h.html#af98213e7457dbe734d81d34758d2b505">feof</a> ( <a class="code" href="struct____file.html">FILE</a> *stream );</div><div class="line"><a name="l00323"></a><span class="lineno">  323</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="posix_8h.html#acb9e5741c01183dfe3179d646b264e5b">fgetpos</a> ( <a class="code" href="struct____file.html">FILE</a> *stream , <span class="keywordtype">size_t</span> *pos );</div><div class="line"><a name="l00324"></a><span class="lineno">  324</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="posix_8h.html#ad31144743f0014784193221563ca8dd2">fseek</a> ( <a class="code" href="struct____file.html">FILE</a> *stream , <span class="keywordtype">long</span> offset , <span class="keywordtype">int</span> whence );</div><div class="line"><a name="l00325"></a><span class="lineno">  325</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="posix_8h.html#a8705d74fe77c1b23824074ecd14be1c7">fsetpos</a> ( <a class="code" href="struct____file.html">FILE</a> *stream , <span class="keywordtype">size_t</span> *pos );</div><div class="line"><a name="l00326"></a><span class="lineno">  326</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">long</span> <a class="code" href="posix_8h.html#af53dca187c78408fe2f1958c4eb88603">ftell</a> ( <a class="code" href="struct____file.html">FILE</a> *stream );</div><div class="line"><a name="l00327"></a><span class="lineno">  327</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <a class="code" href="posix_8h.html#aac46e03c2018bada012333c31f41df12">off_t</a> <a class="code" href="posix_8h.html#abb875e56516d235a6aaf69951444cc63">lseek</a> ( <span class="keywordtype">int</span> <a class="code" href="posix_8h.html#aceb657a1b3c10d576aed287714bfd5d1">fileno</a> , <a class="code" href="posix_8h.html#aac46e03c2018bada012333c31f41df12">off_t</a> position , <span class="keywordtype">int</span> whence );</div><div class="line"><a name="l00328"></a><span class="lineno">  328</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">void</span> <a class="code" href="posix_8h.html#a35e6a58f44d4651951ecfeb97f369884">rewind</a> ( <a class="code" href="struct____file.html">FILE</a> *stream );</div><div class="line"><a name="l00329"></a><span class="lineno">  329</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="posix_8h.html#a48dc1df1627501d3faed4bf1f9801759">close</a> ( <span class="keywordtype">int</span> <a class="code" href="posix_8h.html#aceb657a1b3c10d576aed287714bfd5d1">fileno</a> );</div><div class="line"><a name="l00330"></a><span class="lineno">  330</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="posix_8h.html#aceb657a1b3c10d576aed287714bfd5d1">fileno</a> ( <a class="code" href="struct____file.html">FILE</a> *stream );</div><div class="line"><a name="l00331"></a><span class="lineno">  331</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <a class="code" href="struct____file.html">FILE</a> *<a class="code" href="posix_8h.html#a2c01fe0e0aa550b2a8b4dcc326983b57">fileno_to_stream</a> ( <span class="keywordtype">int</span> <a class="code" href="posix_8h.html#aceb657a1b3c10d576aed287714bfd5d1">fileno</a> );</div><div class="line"><a name="l00332"></a><span class="lineno">  332</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <a class="code" href="struct____file.html">FILE</a> *<a class="code" href="posix_8h.html#a8e661c338f41695d1a1e70aed6255e2d">fopen</a> ( <span class="keyword">const</span> <span class="keywordtype">char</span> *path , <span class="keyword">const</span> <span class="keywordtype">char</span> *mode );</div><div class="line"><a name="l00333"></a><span class="lineno">  333</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">size_t</span> <a class="code" href="posix_8h.html#a01233ac8fd574e20b0b38472adbee551">fread</a> ( <span class="keywordtype">void</span> *ptr , <span class="keywordtype">size_t</span> <a class="code" href="struct____file.html#aff4a1ca8b6a12460812928afae81248d">size</a> , <span class="keywordtype">size_t</span> nmemb , <a class="code" href="struct____file.html">FILE</a> *stream );</div><div class="line"><a name="l00334"></a><span class="lineno">  334</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="posix_8h.html#a474e4e6cac62ef12c66b8a597c14e5f6">ftruncate</a> ( <span class="keywordtype">int</span> fd , <a class="code" href="posix_8h.html#aac46e03c2018bada012333c31f41df12">off_t</a> length );</div><div class="line"><a name="l00335"></a><span class="lineno">  335</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">size_t</span> <a class="code" href="posix_8h.html#a148630cbecc0822d9395f002691ffe75">fwrite</a> ( <span class="keyword">const</span> <span class="keywordtype">void</span> *ptr , <span class="keywordtype">size_t</span> <a class="code" href="struct____file.html#aff4a1ca8b6a12460812928afae81248d">size</a> , <span class="keywordtype">size_t</span> nmemb , <a class="code" href="struct____file.html">FILE</a> *stream );</div><div class="line"><a name="l00336"></a><span class="lineno">  336</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="posix_8h.html#a3e5e6f96d36b5cdacfaf6b3976cd5af2">open</a> ( <span class="keyword">const</span> <span class="keywordtype">char</span> *pathname , <span class="keywordtype">int</span> <a class="code" href="struct____file.html#a8d11df8679502efee09740f97d7c277b">flags</a> );</div><div class="line"><a name="l00337"></a><span class="lineno">  337</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <a class="code" href="posix_8h.html#a170745d0d946e79c4c2a056d1d158996">ssize_t</a> <a class="code" href="posix_8h.html#af104a2c05bef787e54c6925616e867df">read</a> ( <span class="keywordtype">int</span> fd , <span class="keyword">const</span> <span class="keywordtype">void</span> *<a class="code" href="struct____file.html#a3e5a85ae919a90efbb7cb44ccb54fe46">buf</a> , <span class="keywordtype">size_t</span> count );</div><div class="line"><a name="l00338"></a><span class="lineno">  338</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">void</span> <a class="code" href="posix_8h.html#a8f7f00d4ec0d99440762b0a664aebf70">sync</a> ( <span class="keywordtype">void</span> );</div><div class="line"><a name="l00339"></a><span class="lineno">  339</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="posix_8h.html#a521c33bdb3606c9f3546b9cbcd37b9ac">syncfs</a> ( <span class="keywordtype">int</span> fd );</div><div class="line"><a name="l00340"></a><span class="lineno">  340</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="posix_8h.html#a73a95c4a93875be906e573c00b30c5ea">truncate</a> ( <span class="keyword">const</span> <span class="keywordtype">char</span> *path , <a class="code" href="posix_8h.html#aac46e03c2018bada012333c31f41df12">off_t</a> length );</div><div class="line"><a name="l00341"></a><span class="lineno">  341</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <a class="code" href="posix_8h.html#a170745d0d946e79c4c2a056d1d158996">ssize_t</a> <a class="code" href="posix_8h.html#a072435300ac99e8d7c3749f45166e797">write</a> ( <span class="keywordtype">int</span> fd , <span class="keyword">const</span> <span class="keywordtype">void</span> *<a class="code" href="struct____file.html#a3e5a85ae919a90efbb7cb44ccb54fe46">buf</a> , <span class="keywordtype">size_t</span> count );</div><div class="line"><a name="l00342"></a><span class="lineno">  342</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="posix_8h.html#ad6fd240fec1d65213f34b6e6465a8033">fclose</a> ( <a class="code" href="struct____file.html">FILE</a> *stream );</div><div class="line"><a name="l00343"></a><span class="lineno">  343</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">void</span> <a class="code" href="posix_8h.html#a111f2e6e6bc9f0a46210a323cab093c7">dump_stat</a> ( <span class="keyword">struct</span> <a class="code" href="structstat.html">stat</a> *sp );</div><div class="line"><a name="l00344"></a><span class="lineno">  344</span>&#160;</div><div class="line"><a name="l00345"></a><span class="lineno">  345</span>&#160;<span class="preprocessor">#if 0</span></div><div class="line"><a name="l00346"></a><span class="lineno">  346</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> fstat ( <span class="keywordtype">int</span> fd , <span class="keyword">struct</span> <a class="code" href="structstat.html">stat</a> *<a class="code" href="struct____file.html#a3e5a85ae919a90efbb7cb44ccb54fe46">buf</a> );</div><div class="line"><a name="l00347"></a><span class="lineno">  347</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00348"></a><span class="lineno">  348</span>&#160;</div><div class="line"><a name="l00349"></a><span class="lineno">  349</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">char</span> *<a class="code" href="posix_8h.html#a39eea0b104438afa9ca0500c2e8d6887">mctime</a> ( <a class="code" href="time_8h.html#a3346b04b0420b32ccf6b706551b70762">time_t</a> timev );</div><div class="line"><a name="l00350"></a><span class="lineno">  350</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="posix_8h.html#abef70bf7a4af8a1f4998db0035c51781">stat</a> ( <span class="keywordtype">char</span> *name , <span class="keyword">struct</span> <a class="code" href="structstat.html">stat</a> *<a class="code" href="struct____file.html#a3e5a85ae919a90efbb7cb44ccb54fe46">buf</a> );</div><div class="line"><a name="l00351"></a><span class="lineno">  351</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">char</span> *<a class="code" href="posix_8h.html#a4d3dfaf2f5a63e2e4eaa128477a9b5e7">basename</a> ( <span class="keywordtype">char</span> *str );</div><div class="line"><a name="l00352"></a><span class="lineno">  352</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">char</span> *<a class="code" href="posix_8h.html#a0b33c90b99d00a8bd2595f254d1409e1">baseext</a> ( <span class="keywordtype">char</span> *str );</div><div class="line"><a name="l00353"></a><span class="lineno">  353</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="posix_8h.html#a9c74403d1a11692bcab2c9ab7de4b0d3">chdir</a> ( <span class="keyword">const</span> <span class="keywordtype">char</span> *pathname );</div><div class="line"><a name="l00354"></a><span class="lineno">  354</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="posix_8h.html#a43b14410cd7b1b67c7834ad2d6a193ce">chmod</a> ( <span class="keyword">const</span> <span class="keywordtype">char</span> *pathname , <a class="code" href="posix_8h.html#af8f4385bb42836d1e3ad4fea9d71d1b9">mode_t</a> mode );</div><div class="line"><a name="l00355"></a><span class="lineno">  355</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="posix_8h.html#a26a07a3db060ffc5659fe03495a29a1c">dirname</a> ( <span class="keywordtype">char</span> *str );</div><div class="line"><a name="l00356"></a><span class="lineno">  356</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="posix_8h.html#a732642e09075838bbbca28b3529f13db">utime</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *filename, <span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structutimbuf.html">utimbuf</a> *times);</div><div class="line"><a name="l00357"></a><span class="lineno">  357</span>&#160;</div><div class="line"><a name="l00358"></a><span class="lineno">  358</span>&#160;<span class="preprocessor">#if 0</span></div><div class="line"><a name="l00359"></a><span class="lineno">  359</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> fchmod ( <span class="keywordtype">int</span> fd , <a class="code" href="posix_8h.html#af8f4385bb42836d1e3ad4fea9d71d1b9">mode_t</a> mode );</div><div class="line"><a name="l00360"></a><span class="lineno">  360</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00361"></a><span class="lineno">  361</span>&#160;</div><div class="line"><a name="l00362"></a><span class="lineno">  362</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">char</span> *<a class="code" href="posix_8h.html#a6411298bb01166960f5a0378ac0fdb82">getcwd</a> ( <span class="keywordtype">char</span> *pathname , <span class="keywordtype">int</span> <a class="code" href="struct____file.html#a30309efd13a75ed510bb2370debafaf8">len</a> );</div><div class="line"><a name="l00363"></a><span class="lineno">  363</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="posix_8h.html#a8b57a7ee1ba139c636477cf2998e8b1e">mkdir</a> ( <span class="keyword">const</span> <span class="keywordtype">char</span> *pathname , <a class="code" href="posix_8h.html#af8f4385bb42836d1e3ad4fea9d71d1b9">mode_t</a> mode );</div><div class="line"><a name="l00364"></a><span class="lineno">  364</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="posix_8h.html#ada8cc8f9394cf54db8f338838a9fa7ce">rename</a> ( <span class="keyword">const</span> <span class="keywordtype">char</span> *oldpath , <span class="keyword">const</span> <span class="keywordtype">char</span> *newpath );</div><div class="line"><a name="l00365"></a><span class="lineno">  365</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="posix_8h.html#a6080dee579486f132062435577b77d10">rmdir</a> ( <span class="keyword">const</span> <span class="keywordtype">char</span> *pathname );</div><div class="line"><a name="l00366"></a><span class="lineno">  366</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="posix_8h.html#aa964d662c19b2021d9cfd0c71bc686bd">unlink</a> ( <span class="keyword">const</span> <span class="keywordtype">char</span> *pathname );</div><div class="line"><a name="l00367"></a><span class="lineno">  367</span>&#160;<span class="keywordtype">int</span> <a class="code" href="posix_8h.html#aaeac2b41e8c2c3a5f91c9bd511a8c0a6">closedir</a> ( <a class="code" href="structDIR.html">DIR</a> *dirp );</div><div class="line"><a name="l00368"></a><span class="lineno">  368</span>&#160;<a class="code" href="structDIR.html">DIR</a> *<a class="code" href="posix_8h.html#a19051b9081dfef221d9bf4583e935031">opendir</a> ( <span class="keyword">const</span> <span class="keywordtype">char</span> *pathdir );</div><div class="line"><a name="l00369"></a><span class="lineno">  369</span>&#160;<span class="keyword">struct </span><a class="code" href="structdirent.html">dirent</a> *<a class="code" href="posix_8h.html#a58257faf8b13b3f14558613c632b2373">readdir</a> ( <a class="code" href="structDIR.html">DIR</a> *dirp );</div><div class="line"><a name="l00370"></a><span class="lineno">  370</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">void</span> <a class="code" href="posix_8h.html#a03baa4d851a2a855656081a4b7c8d72c">clrerror</a> ( <a class="code" href="struct____file.html">FILE</a> *stream );</div><div class="line"><a name="l00371"></a><span class="lineno">  371</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="posix_8h.html#ac37bff9f639fa95401b71839bbabd9a0">ferror</a> ( <a class="code" href="struct____file.html">FILE</a> *stream );</div><div class="line"><a name="l00372"></a><span class="lineno">  372</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">void</span> <a class="code" href="posix_8h.html#a4ce26afbb10890d31c53a8ff76d992e3">perror</a> ( <span class="keyword">const</span> <span class="keywordtype">char</span> *s );</div><div class="line"><a name="l00373"></a><span class="lineno">  373</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">char</span> <a class="code" href="stringsup_8h.html#a399da2caab82ec1bb3d5a8fbc5306768">WEAK_ATR</a> *<a class="code" href="posix_8h.html#ae03e9f4fe4bf5e64a70fd186d532a5c8">strerror</a> ( <span class="keywordtype">int</span> errnum );</div><div class="line"><a name="l00374"></a><span class="lineno">  374</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">char</span> *<a class="code" href="posix_8h.html#a6311c6b29216455ec9b716b9eb31c799">strerror_r</a> ( <span class="keywordtype">int</span> errnum , <span class="keywordtype">char</span> *buf , <span class="keywordtype">size_t</span> buflen );</div><div class="line"><a name="l00375"></a><span class="lineno">  375</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <a class="code" href="struct____file.html">FILE</a> *<a class="code" href="posix_8h.html#ab814cff71bcbcc3a72a6c399e5084573">fdevopen</a> ( <span class="keywordtype">int</span> (*put )(<span class="keywordtype">char</span> ,<a class="code" href="struct____file.html">FILE</a> *), <span class="keywordtype">int</span> (*<span class="keyword">get</span> )(<a class="code" href="struct____file.html">FILE</a> *));</div><div class="line"><a name="l00376"></a><span class="lineno">  376</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="posix_8h.html#aa1efac33e58ea2abd4cad808e05eb6dd">mkfs</a>(<span class="keywordtype">char</span> *name );</div><div class="line"><a name="l00377"></a><span class="lineno">  377</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="posix_8h.html#a5811041feb43c22c6e609a8875475abc">fatfs_getc</a> ( <a class="code" href="struct____file.html">FILE</a> *stream );</div><div class="line"><a name="l00378"></a><span class="lineno">  378</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="posix_8h.html#adfd015ed8dbac3473269d1a068bf5904">fatfs_putc</a> ( <span class="keywordtype">char</span> c , <a class="code" href="struct____file.html">FILE</a> *stream );</div><div class="line"><a name="l00379"></a><span class="lineno">  379</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="posix_8h.html#ac20f0fc565c27bbbb900bde3337b09b9">fatfs_to_errno</a> ( <a class="code" href="ff_8h.html#a49d0171ecbd362cda5680a0d360db44c">FRESULT</a> Result );</div><div class="line"><a name="l00380"></a><span class="lineno">  380</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="posix_8h.html#a81f14429660ca6a685676d6ceaf5350c">fatfs_to_fileno</a> ( <a class="code" href="structFIL.html">FIL</a> *fh );</div><div class="line"><a name="l00381"></a><span class="lineno">  381</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <a class="code" href="time_8h.html#a3346b04b0420b32ccf6b706551b70762">time_t</a> <a class="code" href="posix_8h.html#a178d5d21b21c0f60d6ff8dfbbc0d86f5">fat_time_to_unix</a> ( <a class="code" href="send_8c.html#a273cf69d639a59973b6019625df33e30">uint16_t</a> date , <a class="code" href="send_8c.html#a273cf69d639a59973b6019625df33e30">uint16_t</a> <a class="code" href="time_8c.html#a32b1cbd925752f0cd61d202bbe204a69">time</a> );</div><div class="line"><a name="l00382"></a><span class="lineno">  382</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">void</span> <a class="code" href="posix_8h.html#aa5666c514336f78c6d1ab6bc35c74ae0">unix_time_to_fat</a>(<a class="code" href="time_8h.html#a3346b04b0420b32ccf6b706551b70762">time_t</a> epoch, <a class="code" href="send_8c.html#a273cf69d639a59973b6019625df33e30">uint16_t</a> *date, <a class="code" href="send_8c.html#a273cf69d639a59973b6019625df33e30">uint16_t</a> *<a class="code" href="time_8c.html#a32b1cbd925752f0cd61d202bbe204a69">time</a>);</div><div class="line"><a name="l00383"></a><span class="lineno">  383</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <a class="code" href="structFIL.html">FIL</a> *<a class="code" href="posix_8h.html#a9b859123258b36eb57f4f71d2606d8a5">fileno_to_fatfs</a> ( <span class="keywordtype">int</span> <a class="code" href="posix_8h.html#aceb657a1b3c10d576aed287714bfd5d1">fileno</a> );</div><div class="line"><a name="l00384"></a><span class="lineno">  384</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="posix_8h.html#a38496612f759733234128893e4c60a89">free_file_descriptor</a> ( <span class="keywordtype">int</span> <a class="code" href="posix_8h.html#aceb657a1b3c10d576aed287714bfd5d1">fileno</a> );</div><div class="line"><a name="l00385"></a><span class="lineno">  385</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="posix_8h.html#abab788c42cce343cde2f5b8f90015229">new_file_descriptor</a> ( <span class="keywordtype">void</span> );</div><div class="line"><a name="l00386"></a><span class="lineno">  386</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="posix_8h.html#a607feb06d296e0ff60d5a19538bd17fc">posix_fopen_modes_to_open</a> ( <span class="keyword">const</span> <span class="keywordtype">char</span> *mode );</div><div class="line"><a name="l00387"></a><span class="lineno">  387</span>&#160;</div><div class="line"><a name="l00388"></a><span class="lineno">  388</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="posix_8h.html#a91ade11061b9b43b1edd37ff32f76591">fprintf</a>(<a class="code" href="struct____file.html">FILE</a> *fp, <span class="keyword">const</span> <span class="keywordtype">char</span> *format, ...);</div><div class="line"><a name="l00389"></a><span class="lineno">  389</span>&#160;</div><div class="line"><a name="l00390"></a><span class="lineno">  390</span>&#160;</div><div class="line"><a name="l00391"></a><span class="lineno">  391</span>&#160;<span class="comment">// =============================================</span></div><div class="line"><a name="l00392"></a><span class="lineno">  392</span>&#160;<span class="preprocessor">#endif                                            //_POSIX_H_</span></div><div class="ttc" id="posix_8h_html_ac29db18b9f0e7e7d5c43d558ccffea6aa0191be5a8b35e30991789c9fe4b2c4cf"><div class="ttname"><a href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aa0191be5a8b35e30991789c9fe4b2c4cf">EMFILE</a></div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00087">posix.h:87</a></div></div>
<div class="ttc" id="posix_8h_html_a58257faf8b13b3f14558613c632b2373"><div class="ttname"><a href="posix_8h.html#a58257faf8b13b3f14558613c632b2373">readdir</a></div><div class="ttdeci">struct dirent * readdir(DIR *dirp)</div><div class="ttdef"><b>Definition:</b> <a href="posix_8c_source.html#l01755">posix.c:1755</a></div></div>
<div class="ttc" id="earth2wireframe_8c_html_a32f2e37ee053cf2ce8ca28d1f74630e5"><div class="ttname"><a href="earth2wireframe_8c.html#a32f2e37ee053cf2ce8ca28d1f74630e5">int32_t</a></div><div class="ttdeci">int int32_t</div><div class="ttdef"><b>Definition:</b> <a href="earth2wireframe_8c_source.html#l00043">earth2wireframe.c:43</a></div></div>
<div class="ttc" id="posix_8h_html_a81f14429660ca6a685676d6ceaf5350c"><div class="ttname"><a href="posix_8h.html#a81f14429660ca6a685676d6ceaf5350c">fatfs_to_fileno</a></div><div class="ttdeci">MEMSPACE int fatfs_to_fileno(FIL *fh)</div><div class="ttdoc">Convert FatFS file handle to POSIX fileno. NOT POSIX. </div><div class="ttdef"><b>Definition:</b> <a href="posix_8c_source.html#l02190">posix.c:2190</a></div></div>
<div class="ttc" id="posix_8h_html_a0f43c63879b4ab6960f41e756392c77d"><div class="ttname"><a href="posix_8h.html#a0f43c63879b4ab6960f41e756392c77d">uid_t</a></div><div class="ttdeci">uint16_t uid_t</div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00049">posix.h:49</a></div></div>
<div class="ttc" id="posix_8h_html_ac29db18b9f0e7e7d5c43d558ccffea6aa953d85d9cf4a55d49811d920c169eded"><div class="ttname"><a href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aa953d85d9cf4a55d49811d920c169eded">EXDEV</a></div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00081">posix.h:81</a></div></div>
<div class="ttc" id="posix_8h_html_a26a07a3db060ffc5659fe03495a29a1c"><div class="ttname"><a href="posix_8h.html#a26a07a3db060ffc5659fe03495a29a1c">dirname</a></div><div class="ttdeci">MEMSPACE int dirname(char *str)</div><div class="ttdoc">POSIX directory name of a filename. Return the index of the last &amp;#39;/&amp;#39; character. </div><div class="ttdef"><b>Definition:</b> <a href="posix_8c_source.html#l01551">posix.c:1551</a></div></div>
<div class="ttc" id="posix_8h_html_a8705d74fe77c1b23824074ecd14be1c7"><div class="ttname"><a href="posix_8h.html#a8705d74fe77c1b23824074ecd14be1c7">fsetpos</a></div><div class="ttdeci">MEMSPACE int fsetpos(FILE *stream, size_t *pos)</div><div class="ttdoc">POSIX set position of file stream. </div><div class="ttdef"><b>Definition:</b> <a href="posix_8c_source.html#l00571">posix.c:571</a></div></div>
<div class="ttc" id="structstat_html_a42dd716b2f9234f961d949fc9500eefb"><div class="ttname"><a href="structstat.html#a42dd716b2f9234f961d949fc9500eefb">stat::st_blocks</a></div><div class="ttdeci">blkcnt_t st_blocks</div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00116">posix.h:116</a></div></div>
<div class="ttc" id="posix_8h_html_ab814cff71bcbcc3a72a6c399e5084573"><div class="ttname"><a href="posix_8h.html#ab814cff71bcbcc3a72a6c399e5084573">fdevopen</a></div><div class="ttdeci">MEMSPACE FILE * fdevopen(int(*put)(char, FILE *), int(*get)(FILE *))</div><div class="ttdoc">Device open functions. </div><div class="ttdef"><b>Definition:</b> <a href="posix_8c_source.html#l01876">posix.c:1876</a></div></div>
<div class="ttc" id="posix_8h_html_a6bdef0a37397953c3b0f14c4d5d0eb10"><div class="ttname"><a href="posix_8h.html#a6bdef0a37397953c3b0f14c4d5d0eb10">fputc</a></div><div class="ttdeci">MEMSPACE int fputc(int c, FILE *stream)</div><div class="ttdoc">Put a byte to TTY device or FatFs file stream open() or fopen() sets stream-&gt;put = fatfs_outc() for F...</div><div class="ttdef"><b>Definition:</b> <a href="posix_8c_source.html#l00278">posix.c:278</a></div></div>
<div class="ttc" id="posix_8h_html_aceb657a1b3c10d576aed287714bfd5d1"><div class="ttname"><a href="posix_8h.html#aceb657a1b3c10d576aed287714bfd5d1">fileno</a></div><div class="ttdeci">MEMSPACE int fileno(FILE *stream)</div><div class="ttdoc">Convert POSIX stream pointer to POSIX fileno (index of __iob[]) </div><div class="ttdef"><b>Definition:</b> <a href="posix_8c_source.html#l00724">posix.c:724</a></div></div>
<div class="ttc" id="send_8c_html_a273cf69d639a59973b6019625df33e30"><div class="ttname"><a href="send_8c.html#a273cf69d639a59973b6019625df33e30">uint16_t</a></div><div class="ttdeci">unsigned short uint16_t</div><div class="ttdef"><b>Definition:</b> <a href="send_8c_source.html#l00018">send.c:18</a></div></div>
<div class="ttc" id="posix_8h_html_aa5666c514336f78c6d1ab6bc35c74ae0"><div class="ttname"><a href="posix_8h.html#aa5666c514336f78c6d1ab6bc35c74ae0">unix_time_to_fat</a></div><div class="ttdeci">MEMSPACE void unix_time_to_fat(time_t epoch, uint16_t *date, uint16_t *time)</div><div class="ttdoc">Convert Linux POSIX time_t to FAT32 date and time. NOT POSIX. </div><div class="ttdef"><b>Definition:</b> <a href="posix_8c_source.html#l02252">posix.c:2252</a></div></div>
<div class="ttc" id="posix_8h_html_aae2f027325f7e73c3aa5e7dc990bd90d"><div class="ttname"><a href="posix_8h.html#aae2f027325f7e73c3aa5e7dc990bd90d">__iob</a></div><div class="ttdeci">FILE * __iob[MAX_FILES]</div><div class="ttdoc">POSIX fileno to POSIX FILE stream table. </div><div class="ttdef"><b>Definition:</b> <a href="posix_8c_source.html#l00139">posix.c:139</a></div></div>
<div class="ttc" id="posix_8h_html_ac29db18b9f0e7e7d5c43d558ccffea6aa21e6505c229a4508912c375435eb86a8"><div class="ttname"><a href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aa21e6505c229a4508912c375435eb86a8">EDOM</a></div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00096">posix.h:96</a></div></div>
<div class="ttc" id="posix_8h_html_a35e6a58f44d4651951ecfeb97f369884"><div class="ttname"><a href="posix_8h.html#a35e6a58f44d4651951ecfeb97f369884">rewind</a></div><div class="ttdeci">MEMSPACE void rewind(FILE *stream)</div><div class="ttdoc">POSIX rewind file to the beginning. </div><div class="ttdef"><b>Definition:</b> <a href="posix_8c_source.html#l00666">posix.c:666</a></div></div>
<div class="ttc" id="posix_8h_html_a19051b9081dfef221d9bf4583e935031"><div class="ttname"><a href="posix_8h.html#a19051b9081dfef221d9bf4583e935031">opendir</a></div><div class="ttdeci">DIR * opendir(const char *pathdir)</div><div class="ttdef"><b>Definition:</b> <a href="posix_8c_source.html#l01736">posix.c:1736</a></div></div>
<div class="ttc" id="posix_8h_html_aa1efac33e58ea2abd4cad808e05eb6dd"><div class="ttname"><a href="posix_8h.html#aa1efac33e58ea2abd4cad808e05eb6dd">mkfs</a></div><div class="ttdeci">MEMSPACE int mkfs(char *name)</div><div class="ttdoc">Formt SD card. </div><div class="ttdef"><b>Definition:</b> <a href="posix_8c_source.html#l01922">posix.c:1922</a></div></div>
<div class="ttc" id="posix_8h_html_ac29db18b9f0e7e7d5c43d558ccffea6aaf3dc036138d242739c3dbe36c5dfa095"><div class="ttname"><a href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aaf3dc036138d242739c3dbe36c5dfa095">ENOTTY</a></div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00088">posix.h:88</a></div></div>
<div class="ttc" id="structstat_html_a1b4b858db1ebe79c3d6e0fc1ef721024"><div class="ttname"><a href="structstat.html#a1b4b858db1ebe79c3d6e0fc1ef721024">stat::st_ctime</a></div><div class="ttdeci">time_t st_ctime</div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00119">posix.h:119</a></div></div>
<div class="ttc" id="posix_8h_html_ac29db18b9f0e7e7d5c43d558ccffea6aa7bfd237190819a0a272db7b0aa61d5c8"><div class="ttname"><a href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aa7bfd237190819a0a272db7b0aa61d5c8">EINVAL</a></div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00085">posix.h:85</a></div></div>
<div class="ttc" id="posix_8h_html_af98213e7457dbe734d81d34758d2b505"><div class="ttname"><a href="posix_8h.html#af98213e7457dbe734d81d34758d2b505">feof</a></div><div class="ttdeci">MEMSPACE int feof(FILE *stream)</div><div class="ttdoc">feof reports if the stream is at EOF </div><div class="ttdef"><b>Definition:</b> <a href="posix_8c_source.html#l00505">posix.c:505</a></div></div>
<div class="ttc" id="posix_8h_html_a6311c6b29216455ec9b716b9eb31c799"><div class="ttname"><a href="posix_8h.html#a6311c6b29216455ec9b716b9eb31c799">strerror_r</a></div><div class="ttdeci">MEMSPACE char * strerror_r(int errnum, char *buf, size_t buflen)</div><div class="ttdoc">POSIX strerror_r() - convert POSIX errno to text with user message. </div><div class="ttdef"><b>Definition:</b> <a href="posix_8c_source.html#l01857">posix.c:1857</a></div></div>
<div class="ttc" id="posix_8h_html_ac29db18b9f0e7e7d5c43d558ccffea6aa9e2f813a51a5763a892f4b1783778e4b"><div class="ttname"><a href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aa9e2f813a51a5763a892f4b1783778e4b">EBUSY</a></div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00079">posix.h:79</a></div></div>
<div class="ttc" id="posix_8h_html_a43b14410cd7b1b67c7834ad2d6a193ce"><div class="ttname"><a href="posix_8h.html#a43b14410cd7b1b67c7834ad2d6a193ce">chmod</a></div><div class="ttdeci">MEMSPACE int chmod(const char *pathname, mode_t mode)</div><div class="ttdoc">POSIX chmod function - change file access permission Unfortunately file f_open modes and f_chmod mode...</div><div class="ttdef"><b>Definition:</b> <a href="posix_8c_source.html#l01513">posix.c:1513</a></div></div>
<div class="ttc" id="posix_8h_html_a451f1b5788fa7cc5d33db47a5992e7a6"><div class="ttname"><a href="posix_8h.html#a451f1b5788fa7cc5d33db47a5992e7a6">dev_t</a></div><div class="ttdeci">uint32_t dev_t</div><div class="ttdoc">make sure we use our EDOM and ERANGE values </div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00045">posix.h:45</a></div></div>
<div class="ttc" id="posix_8h_html_ac29db18b9f0e7e7d5c43d558ccffea6aa8cc241d56d59d11ceea8efc37bec8ed4"><div class="ttname"><a href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aa8cc241d56d59d11ceea8efc37bec8ed4">EINTR</a></div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00067">posix.h:67</a></div></div>
<div class="ttc" id="posix_8h_html_aac46e03c2018bada012333c31f41df12"><div class="ttname"><a href="posix_8h.html#aac46e03c2018bada012333c31f41df12">off_t</a></div><div class="ttdeci">uint32_t off_t</div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00051">posix.h:51</a></div></div>
<div class="ttc" id="posix_8h_html_af8f4385bb42836d1e3ad4fea9d71d1b9"><div class="ttname"><a href="posix_8h.html#af8f4385bb42836d1e3ad4fea9d71d1b9">mode_t</a></div><div class="ttdeci">uint32_t mode_t</div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00047">posix.h:47</a></div></div>
<div class="ttc" id="posix_8h_html_ad6fd240fec1d65213f34b6e6465a8033"><div class="ttname"><a href="posix_8h.html#ad6fd240fec1d65213f34b6e6465a8033">fclose</a></div><div class="ttdeci">MEMSPACE int fclose(FILE *stream)</div><div class="ttdoc">POSIX close a file stream. </div><div class="ttdef"><b>Definition:</b> <a href="posix_8c_source.html#l01239">posix.c:1239</a></div></div>
<div class="ttc" id="posix_8h_html_ada8cc8f9394cf54db8f338838a9fa7ce"><div class="ttname"><a href="posix_8h.html#ada8cc8f9394cf54db8f338838a9fa7ce">rename</a></div><div class="ttdeci">MEMSPACE int rename(const char *oldpath, const char *newpath)</div><div class="ttdoc">POSIX rename a file by name. </div><div class="ttdef"><b>Definition:</b> <a href="posix_8c_source.html#l01648">posix.c:1648</a></div></div>
<div class="ttc" id="posix_8h_html_ac29db18b9f0e7e7d5c43d558ccffea6aa6a73363cf3fa4dc0d77c4cb3b9d83321"><div class="ttname"><a href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aa6a73363cf3fa4dc0d77c4cb3b9d83321">EISDIR</a></div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00084">posix.h:84</a></div></div>
<div class="ttc" id="posix_8h_html_a6411298bb01166960f5a0378ac0fdb82"><div class="ttname"><a href="posix_8h.html#a6411298bb01166960f5a0378ac0fdb82">getcwd</a></div><div class="ttdeci">MEMSPACE char * getcwd(char *pathname, int len)</div><div class="ttdoc">POSIX get current working directory. </div><div class="ttdef"><b>Definition:</b> <a href="posix_8c_source.html#l01596">posix.c:1596</a></div></div>
<div class="ttc" id="posix_8h_html_ab29c02d05027f32f3f17bee2e4839777"><div class="ttname"><a href="posix_8h.html#ab29c02d05027f32f3f17bee2e4839777">utime_t</a></div><div class="ttdeci">struct utimbuf utime_t</div><div class="ttdoc">POSIX utimbuf structure. </div></div>
<div class="ttc" id="structstat_html_ac5b90090ae323741ae4c9e4f3683a29f"><div class="ttname"><a href="structstat.html#ac5b90090ae323741ae4c9e4f3683a29f">stat::st_dev</a></div><div class="ttdeci">dev_t st_dev</div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00107">posix.h:107</a></div></div>
<div class="ttc" id="posix_8h_html_ac29db18b9f0e7e7d5c43d558ccffea6aa4e376a13d0c1557d399f473218915625"><div class="ttname"><a href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aa4e376a13d0c1557d399f473218915625">ESRCH</a></div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00066">posix.h:66</a></div></div>
<div class="ttc" id="send_8c_html_a435d1572bf3f880d55459d9805097f62"><div class="ttname"><a href="send_8c.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a></div><div class="ttdeci">unsigned int uint32_t</div><div class="ttdef"><b>Definition:</b> <a href="send_8c_source.html#l00019">send.c:19</a></div></div>
<div class="ttc" id="posix_8h_html_abab788c42cce343cde2f5b8f90015229"><div class="ttname"><a href="posix_8h.html#abab788c42cce343cde2f5b8f90015229">new_file_descriptor</a></div><div class="ttdeci">MEMSPACE int new_file_descriptor(void)</div><div class="ttdoc">Allocate a POSIX FILE descriptor. NOT POSIX. </div><div class="ttdef"><b>Definition:</b> <a href="posix_8c_source.html#l02355">posix.c:2355</a></div></div>
<div class="ttc" id="posix_8h_html_ac29db18b9f0e7e7d5c43d558ccffea6aa5fa7d65262e81125cecb27e80a26ce98"><div class="ttname"><a href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aa5fa7d65262e81125cecb27e80a26ce98">EACCES</a></div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00076">posix.h:76</a></div></div>
<div class="ttc" id="posix_8h_html_a170745d0d946e79c4c2a056d1d158996"><div class="ttname"><a href="posix_8h.html#a170745d0d946e79c4c2a056d1d158996">ssize_t</a></div><div class="ttdeci">int32_t ssize_t</div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00055">posix.h:55</a></div></div>
<div class="ttc" id="posix_8h_html_a39eea0b104438afa9ca0500c2e8d6887"><div class="ttname"><a href="posix_8h.html#a39eea0b104438afa9ca0500c2e8d6887">mctime</a></div><div class="ttdeci">MEMSPACE char * mctime(time_t timev)</div><div class="ttdoc">Display Ascii formatted time from timev seconds NOT POSIX. </div><div class="ttdef"><b>Definition:</b> <a href="posix_8c_source.html#l01323">posix.c:1323</a></div></div>
<div class="ttc" id="struct____file_html"><div class="ttname"><a href="struct____file.html">__file</a></div><div class="ttdoc">FILE type structure. </div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00156">posix.h:156</a></div></div>
<div class="ttc" id="posix_8h_html_a30a4070a8b1719d53cb01dd4b2a65069"><div class="ttname"><a href="posix_8h.html#a30a4070a8b1719d53cb01dd4b2a65069">fputs</a></div><div class="ttdeci">MEMSPACE int fputs(const char *str, FILE *stream)</div><div class="ttdoc">put a string to stdout See fdevopen() sets stream-&gt;put get for TTY devices </div><div class="ttdef"><b>Definition:</b> <a href="posix_8c_source.html#l00457">posix.c:457</a></div></div>
<div class="ttc" id="posix_8h_html_ae59fd612372df957f59fb3cdcbd8b9e9"><div class="ttname"><a href="posix_8h.html#ae59fd612372df957f59fb3cdcbd8b9e9">putc</a></div><div class="ttdeci">MEMSPACE int putc(int c, FILE *stream)</div><div class="ttdoc">Put a character to a stream See fdevopen() sets stream-&gt;put get for TTY devices. </div><div class="ttdef"><b>Definition:</b> <a href="posix_8c_source.html#l00401">posix.c:401</a></div></div>
<div class="ttc" id="posix_8h_html_a521c33bdb3606c9f3546b9cbcd37b9ac"><div class="ttname"><a href="posix_8h.html#a521c33bdb3606c9f3546b9cbcd37b9ac">syncfs</a></div><div class="ttdeci">MEMSPACE int syncfs(int fd)</div><div class="ttdoc">POSIX Sync pending file changes and metadata for specified fileno. </div><div class="ttdef"><b>Definition:</b> <a href="posix_8c_source.html#l01096">posix.c:1096</a></div></div>
<div class="ttc" id="posix_8h_html_aa360dd5203b246757abc21253ed8eb2e"><div class="ttname"><a href="posix_8h.html#aa360dd5203b246757abc21253ed8eb2e">puts</a></div><div class="ttdeci">MEMSPACE int puts(const char *str)</div><div class="ttdoc">put a string to stdout See fdevopen() sets stream-&gt;put get for TTY devices </div><div class="ttdef"><b>Definition:</b> <a href="posix_8c_source.html#l00480">posix.c:480</a></div></div>
<div class="ttc" id="posix_8h_html_a2c5eecb22513a88c24ae5831a3265e54"><div class="ttname"><a href="posix_8h.html#a2c5eecb22513a88c24ae5831a3265e54">MAX_FILES</a></div><div class="ttdeci">#define MAX_FILES</div><div class="ttdoc">Maximum number of POSIX file handles. </div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00260">posix.h:260</a></div></div>
<div class="ttc" id="structdirent_html"><div class="ttname"><a href="structdirent.html">dirent</a></div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00136">posix.h:136</a></div></div>
<div class="ttc" id="posix_8h_html_a9b859123258b36eb57f4f71d2606d8a5"><div class="ttname"><a href="posix_8h.html#a9b859123258b36eb57f4f71d2606d8a5">fileno_to_fatfs</a></div><div class="ttdeci">MEMSPACE FIL * fileno_to_fatfs(int fileno)</div><div class="ttdoc">Convert POSIX fileno to FatFS handle NOT POSIX. </div><div class="ttdef"><b>Definition:</b> <a href="posix_8c_source.html#l02276">posix.c:2276</a></div></div>
<div class="ttc" id="posix_8h_html_abb875e56516d235a6aaf69951444cc63"><div class="ttname"><a href="posix_8h.html#abb875e56516d235a6aaf69951444cc63">lseek</a></div><div class="ttdeci">MEMSPACE off_t lseek(int fileno, off_t position, int whence)</div><div class="ttdoc">POSIX seek to file position. </div><div class="ttdef"><b>Definition:</b> <a href="posix_8c_source.html#l00617">posix.c:617</a></div></div>
<div class="ttc" id="structstat_html_aa61e6c1a8a91c69f1d26f6700a0546cb"><div class="ttname"><a href="structstat.html#aa61e6c1a8a91c69f1d26f6700a0546cb">stat::st_rdev</a></div><div class="ttdeci">dev_t st_rdev</div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00113">posix.h:113</a></div></div>
<div class="ttc" id="posix_8h_html_a5811041feb43c22c6e609a8875475abc"><div class="ttname"><a href="posix_8h.html#a5811041feb43c22c6e609a8875475abc">fatfs_getc</a></div><div class="ttdeci">MEMSPACE int fatfs_getc(FILE *stream)</div><div class="ttdoc">Private FatFs function called by fgetc() to get a byte from file stream FIXME buffer this function ca...</div><div class="ttdef"><b>Definition:</b> <a href="posix_8c_source.html#l01984">posix.c:1984</a></div></div>
<div class="ttc" id="posix_8h_html_ac29db18b9f0e7e7d5c43d558ccffea6aa83ea4e18eaac3a62036e1b5723d6e353"><div class="ttname"><a href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aa83ea4e18eaac3a62036e1b5723d6e353">ETXTBSY</a></div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00089">posix.h:89</a></div></div>
<div class="ttc" id="posix_8h_html_a474e4e6cac62ef12c66b8a597c14e5f6"><div class="ttname"><a href="posix_8h.html#a474e4e6cac62ef12c66b8a597c14e5f6">ftruncate</a></div><div class="ttdeci">MEMSPACE int ftruncate(int fd, off_t length)</div><div class="ttdoc">POSIX truncate open file to length. </div><div class="ttdef"><b>Definition:</b> <a href="posix_8c_source.html#l00827">posix.c:827</a></div></div>
<div class="ttc" id="posix_8h_html_af979e8f6598be71d68be7cc49a41626b"><div class="ttname"><a href="posix_8h.html#af979e8f6598be71d68be7cc49a41626b">ungetc</a></div><div class="ttdeci">MEMSPACE int ungetc(int c, FILE *stream)</div><div class="ttdoc">Un-Get byte from a TTY device or FatFs file stream. </div><div class="ttdef"><b>Definition:</b> <a href="posix_8c_source.html#l00368">posix.c:368</a></div></div>
<div class="ttc" id="posix_8h_html_a111f2e6e6bc9f0a46210a323cab093c7"><div class="ttname"><a href="posix_8h.html#a111f2e6e6bc9f0a46210a323cab093c7">dump_stat</a></div><div class="ttdeci">MEMSPACE void dump_stat(struct stat *sp)</div><div class="ttdoc">Display struct stat, from POSIX stat(0 or fstat(), in ASCII. NOT POSIX. </div><div class="ttdef"><b>Definition:</b> <a href="posix_8c_source.html#l01260">posix.c:1260</a></div></div>
<div class="ttc" id="posix_8h_html_a03baa4d851a2a855656081a4b7c8d72c"><div class="ttname"><a href="posix_8h.html#a03baa4d851a2a855656081a4b7c8d72c">clrerror</a></div><div class="ttdeci">MEMSPACE void clrerror(FILE *stream)</div><div class="ttdoc">clrerror resets stream EOF and error flags </div><div class="ttdef"><b>Definition:</b> <a href="posix_8c_source.html#l01786">posix.c:1786</a></div></div>
<div class="ttc" id="posix_8h_html_a8f7f00d4ec0d99440762b0a664aebf70"><div class="ttname"><a href="posix_8h.html#a8f7f00d4ec0d99440762b0a664aebf70">sync</a></div><div class="ttdeci">MEMSPACE void sync(void)</div><div class="ttdoc">POSIX Sync all pending file changes and metadata on ALL files. </div><div class="ttdef"><b>Definition:</b> <a href="posix_8c_source.html#l01069">posix.c:1069</a></div></div>
<div class="ttc" id="struct____file_html_a3e5a85ae919a90efbb7cb44ccb54fe46"><div class="ttname"><a href="struct____file.html#a3e5a85ae919a90efbb7cb44ccb54fe46">__file::buf</a></div><div class="ttdeci">char * buf</div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00157">posix.h:157</a></div></div>
<div class="ttc" id="time_8c_html_a32b1cbd925752f0cd61d202bbe204a69"><div class="ttname"><a href="time_8c.html#a32b1cbd925752f0cd61d202bbe204a69">time</a></div><div class="ttdeci">MEMSPACE time_t time(time_t *t)</div><div class="ttdoc">Return second from epoch - POSIX function. </div><div class="ttdef"><b>Definition:</b> <a href="time_8c_source.html#l00843">time.c:843</a></div></div>
<div class="ttc" id="posix_8h_html_adfd015ed8dbac3473269d1a068bf5904"><div class="ttname"><a href="posix_8h.html#adfd015ed8dbac3473269d1a068bf5904">fatfs_putc</a></div><div class="ttdeci">MEMSPACE int fatfs_putc(char c, FILE *stream)</div><div class="ttdoc">Private FatFs function called by fputc() to put a byte from file stream NOT POSIX open() assigns stre...</div><div class="ttdef"><b>Definition:</b> <a href="posix_8c_source.html#l02074">posix.c:2074</a></div></div>
<div class="ttc" id="posix_8h_html_a2c01fe0e0aa550b2a8b4dcc326983b57"><div class="ttname"><a href="posix_8h.html#a2c01fe0e0aa550b2a8b4dcc326983b57">fileno_to_stream</a></div><div class="ttdeci">MEMSPACE FILE * fileno_to_stream(int fileno)</div><div class="ttdoc">Convert POSIX fileno to POSIX FILE stream pointer. NOT POSIX. </div><div class="ttdef"><b>Definition:</b> <a href="posix_8c_source.html#l00754">posix.c:754</a></div></div>
<div class="ttc" id="structstat_html_a0ed9092fa6c77a3251b9b9a4738ef84f"><div class="ttname"><a href="structstat.html#a0ed9092fa6c77a3251b9b9a4738ef84f">stat::st_nlink</a></div><div class="ttdeci">nlink_t st_nlink</div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00110">posix.h:110</a></div></div>
<div class="ttc" id="structutimbuf_html"><div class="ttname"><a href="structutimbuf.html">utimbuf</a></div><div class="ttdoc">POSIX utimbuf structure. </div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00124">posix.h:124</a></div></div>
<div class="ttc" id="posix_8h_html_a9c74403d1a11692bcab2c9ab7de4b0d3"><div class="ttname"><a href="posix_8h.html#a9c74403d1a11692bcab2c9ab7de4b0d3">chdir</a></div><div class="ttdeci">MEMSPACE int chdir(const char *pathname)</div><div class="ttdoc">POSIX change directory. </div><div class="ttdef"><b>Definition:</b> <a href="posix_8c_source.html#l01488">posix.c:1488</a></div></div>
<div class="ttc" id="posix_8h_html_a4d3dfaf2f5a63e2e4eaa128477a9b5e7"><div class="ttname"><a href="posix_8h.html#a4d3dfaf2f5a63e2e4eaa128477a9b5e7">basename</a></div><div class="ttdeci">MEMSPACE char * basename(char *str)</div><div class="ttdoc">POSIX Basename of filename. </div><div class="ttdef"><b>Definition:</b> <a href="posix_8c_source.html#l01446">posix.c:1446</a></div></div>
<div class="ttc" id="structDIR_html"><div class="ttname"><a href="structDIR.html">DIR</a></div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00184">ff.h:184</a></div></div>
<div class="ttc" id="posix_8h_html_ac29db18b9f0e7e7d5c43d558ccffea6aa87d4476eed38f45439e257081c9de369"><div class="ttname"><a href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aa87d4476eed38f45439e257081c9de369">EBADF</a></div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00072">posix.h:72</a></div></div>
<div class="ttc" id="posix_8h_html_ac29db18b9f0e7e7d5c43d558ccffea6aae8a4cdbd60a66eb9705bcb0a655e94fe"><div class="ttname"><a href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aae8a4cdbd60a66eb9705bcb0a655e94fe">EMLINK</a></div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00094">posix.h:94</a></div></div>
<div class="ttc" id="posix_8h_html_ac9195b3de02e450cfdeea1ce97b32da4"><div class="ttname"><a href="posix_8h.html#ac9195b3de02e450cfdeea1ce97b32da4">putchar</a></div><div class="ttdeci">MEMSPACE int putchar(int c)</div><div class="ttdoc">put a character to stdout See fdevopen() sets stream-&gt;put get for TTY devices </div><div class="ttdef"><b>Definition:</b> <a href="posix_8c_source.html#l00351">posix.c:351</a></div></div>
<div class="ttc" id="time_8h_html_a3346b04b0420b32ccf6b706551b70762"><div class="ttname"><a href="time_8h.html#a3346b04b0420b32ccf6b706551b70762">time_t</a></div><div class="ttdeci">uint32_t time_t</div><div class="ttdoc">type of EPOCH result. </div><div class="ttdef"><b>Definition:</b> <a href="time_8h_source.html#l00035">time.h:35</a></div></div>
<div class="ttc" id="posix_8h_html_ac29db18b9f0e7e7d5c43d558ccffea6aaee10bd01c67a10db950db7d8b814ef3e"><div class="ttname"><a href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aaee10bd01c67a10db950db7d8b814ef3e">ENOTBLK</a></div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00078">posix.h:78</a></div></div>
<div class="ttc" id="structutimbuf_html_aa39cf0bad7eff4df6239528506a557df"><div class="ttname"><a href="structutimbuf.html#aa39cf0bad7eff4df6239528506a557df">utimbuf::actime</a></div><div class="ttdeci">time_t actime</div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00126">posix.h:126</a></div></div>
<div class="ttc" id="posix_8h_html_a1d2fa24415329171e6765ed5309b6edd"><div class="ttname"><a href="posix_8h.html#a1d2fa24415329171e6765ed5309b6edd">fgetc</a></div><div class="ttdeci">MEMSPACE int fgetc(FILE *stream)</div><div class="ttdoc">Get byte from a TTY device or FatFs file stream open() or fopen() sets stream-&gt;get = fatfs_getc() for...</div><div class="ttdef"><b>Definition:</b> <a href="posix_8c_source.html#l00216">posix.c:216</a></div></div>
<div class="ttc" id="struct____file_html_a30309efd13a75ed510bb2370debafaf8"><div class="ttname"><a href="struct____file.html#a30309efd13a75ed510bb2370debafaf8">__file::len</a></div><div class="ttdeci">int len</div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00176">posix.h:176</a></div></div>
<div class="ttc" id="posix_8h_html_ac29db18b9f0e7e7d5c43d558ccffea6aa1c0d17ac093eff038b479dba021361bb"><div class="ttname"><a href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aa1c0d17ac093eff038b479dba021361bb">ENXIO</a></div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00069">posix.h:69</a></div></div>
<div class="ttc" id="struct____file_html_a1d139ae3cb11a1fada469a49f7d3d3b6"><div class="ttname"><a href="struct____file.html#a1d139ae3cb11a1fada469a49f7d3d3b6">__file::unget</a></div><div class="ttdeci">unsigned char unget</div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00158">posix.h:158</a></div></div>
<div class="ttc" id="posix_8h_html_ac20f0fc565c27bbbb900bde3337b09b9"><div class="ttname"><a href="posix_8h.html#ac20f0fc565c27bbbb900bde3337b09b9">fatfs_to_errno</a></div><div class="ttdeci">MEMSPACE int fatfs_to_errno(FRESULT Result)</div><div class="ttdoc">Convert FafFs error result to POSIX errno. NOT POSIX. </div><div class="ttdef"><b>Definition:</b> <a href="posix_8c_source.html#l02114">posix.c:2114</a></div></div>
<div class="ttc" id="posix_8h_html_a8b57a7ee1ba139c636477cf2998e8b1e"><div class="ttname"><a href="posix_8h.html#a8b57a7ee1ba139c636477cf2998e8b1e">mkdir</a></div><div class="ttdeci">MEMSPACE int mkdir(const char *pathname, mode_t mode)</div><div class="ttdoc">POSIX make a directory. </div><div class="ttdef"><b>Definition:</b> <a href="posix_8c_source.html#l01619">posix.c:1619</a></div></div>
<div class="ttc" id="posix_8h_html_ac29db18b9f0e7e7d5c43d558ccffea6aaec0aa1bb79e2e55ed6d8c165e0611eca"><div class="ttname"><a href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aaec0aa1bb79e2e55ed6d8c165e0611eca">ENOMEM</a></div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00075">posix.h:75</a></div></div>
<div class="ttc" id="ff_8h_html_a49d0171ecbd362cda5680a0d360db44c"><div class="ttname"><a href="ff_8h.html#a49d0171ecbd362cda5680a0d360db44c">FRESULT</a></div><div class="ttdeci">FRESULT</div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00220">ff.h:220</a></div></div>
<div class="ttc" id="structstat_html_a5cbdd829011af82ba61e83773bbcbc7d"><div class="ttname"><a href="structstat.html#a5cbdd829011af82ba61e83773bbcbc7d">stat::st_mode</a></div><div class="ttdeci">mode_t st_mode</div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00109">posix.h:109</a></div></div>
<div class="ttc" id="posix_8h_html_ac29db18b9f0e7e7d5c43d558ccffea6aa2b5265f4c8556b15ec913f61caade1eb"><div class="ttname"><a href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aa2b5265f4c8556b15ec913f61caade1eb">ENOSPC</a></div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00091">posix.h:91</a></div></div>
<div class="ttc" id="posix_8h_html_a01233ac8fd574e20b0b38472adbee551"><div class="ttname"><a href="posix_8h.html#a01233ac8fd574e20b0b38472adbee551">fread</a></div><div class="ttdeci">MEMSPACE size_t fread(void *ptr, size_t size, size_t nmemb, FILE *stream)</div><div class="ttdoc">POSIX read nmemb elements from buf, size bytes each, to the stream fd. </div><div class="ttdef"><b>Definition:</b> <a href="posix_8c_source.html#l00803">posix.c:803</a></div></div>
<div class="ttc" id="posix_8h_html_a3346b04b0420b32ccf6b706551b70762"><div class="ttname"><a href="posix_8h.html#a3346b04b0420b32ccf6b706551b70762">time_t</a></div><div class="ttdeci">uint32_t time_t</div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00054">posix.h:54</a></div></div>
<div class="ttc" id="posix_8h_html_ac29db18b9f0e7e7d5c43d558ccffea6aa3d9f70d8ebd10e9d4aa420b9cb22cb53"><div class="ttname"><a href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aa3d9f70d8ebd10e9d4aa420b9cb22cb53">EFBIG</a></div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00090">posix.h:90</a></div></div>
<div class="ttc" id="posix_8h_html_ae03e9f4fe4bf5e64a70fd186d532a5c8"><div class="ttname"><a href="posix_8h.html#ae03e9f4fe4bf5e64a70fd186d532a5c8">strerror</a></div><div class="ttdeci">MEMSPACE char WEAK_ATR * strerror(int errnum)</div><div class="ttdoc">POSIX strerror() - convert POSIX errno to text with user message. </div><div class="ttdef"><b>Definition:</b> <a href="posix_8c_source.html#l01840">posix.c:1840</a></div></div>
<div class="ttc" id="posix_8h_html_ac29db18b9f0e7e7d5c43d558ccffea6aa4bde0de54c0b708a605ed5095959c14e"><div class="ttname"><a href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aa4bde0de54c0b708a605ed5095959c14e">EAGAIN</a></div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00074">posix.h:74</a></div></div>
<div class="ttc" id="posix_8h_html_abef70bf7a4af8a1f4998db0035c51781"><div class="ttname"><a href="posix_8h.html#abef70bf7a4af8a1f4998db0035c51781">stat</a></div><div class="ttdeci">MEMSPACE int stat(char *name, struct stat *buf)</div><div class="ttdoc">POSIX stat - get file status of named file. </div><div class="ttdef"><b>Definition:</b> <a href="posix_8c_source.html#l01344">posix.c:1344</a></div></div>
<div class="ttc" id="posix_8h_html_ac29db18b9f0e7e7d5c43d558ccffea6aa156dcc38d9ba0765c6150544963ed267"><div class="ttname"><a href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aa156dcc38d9ba0765c6150544963ed267">EPERM</a></div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00064">posix.h:64</a></div></div>
<div class="ttc" id="posix_8h_html_ac29db18b9f0e7e7d5c43d558ccffea6aadabd09d64c920a9a75f60165fda651d5"><div class="ttname"><a href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aadabd09d64c920a9a75f60165fda651d5">ENOEXEC</a></div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00071">posix.h:71</a></div></div>
<div class="ttc" id="posix_8h_html_a8e661c338f41695d1a1e70aed6255e2d"><div class="ttname"><a href="posix_8h.html#a8e661c338f41695d1a1e70aed6255e2d">fopen</a></div><div class="ttdeci">MEMSPACE FILE * fopen(const char *path, const char *mode)</div><div class="ttdoc">POSIX Open a file with path name and ascii file mode string. </div><div class="ttdef"><b>Definition:</b> <a href="posix_8c_source.html#l00782">posix.c:782</a></div></div>
<div class="ttc" id="posix_8h_html_a2706f994576080967d7633282dfcabbf"><div class="ttname"><a href="posix_8h.html#a2706f994576080967d7633282dfcabbf">blkcnt_t</a></div><div class="ttdeci">uint32_t blkcnt_t</div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00052">posix.h:52</a></div></div>
<div class="ttc" id="posix_8h_html_ac29db18b9f0e7e7d5c43d558ccffea6aa3ffb99860526d55ef132365553694c3d"><div class="ttname"><a href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aa3ffb99860526d55ef132365553694c3d">ERANGE</a></div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00097">posix.h:97</a></div></div>
<div class="ttc" id="posix_8h_html_ac29db18b9f0e7e7d5c43d558ccffea6aae350307a3417656c8cabc816ba8d07cd"><div class="ttname"><a href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aae350307a3417656c8cabc816ba8d07cd">ENODEV</a></div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00082">posix.h:82</a></div></div>
<div class="ttc" id="structstat_html"><div class="ttname"><a href="structstat.html">stat</a></div><div class="ttdoc">POSIX stat structure. </div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00105">posix.h:105</a></div></div>
<div class="ttc" id="posix_8h_html_a31986cce890109c211ccb14151aafd0e"><div class="ttname"><a href="posix_8h.html#a31986cce890109c211ccb14151aafd0e">isatty</a></div><div class="ttdeci">MEMSPACE int isatty(int fileno)</div><div class="ttdoc">Test POSIX fileno if it is a Serial Console/TTY. </div><div class="ttdef"><b>Definition:</b> <a href="posix_8c_source.html#l00196">posix.c:196</a></div></div>
<div class="ttc" id="posix_8h_html_acb9e5741c01183dfe3179d646b264e5b"><div class="ttname"><a href="posix_8h.html#acb9e5741c01183dfe3179d646b264e5b">fgetpos</a></div><div class="ttdeci">MEMSPACE int fgetpos(FILE *stream, size_t *pos)</div><div class="ttdoc">POSIX get position of file stream. </div><div class="ttdef"><b>Definition:</b> <a href="posix_8c_source.html#l00522">posix.c:522</a></div></div>
<div class="ttc" id="posix_8h_html_aed4e918b44240739869c4bdb1c4787a9"><div class="ttname"><a href="posix_8h.html#aed4e918b44240739869c4bdb1c4787a9">ino_t</a></div><div class="ttdeci">uint32_t ino_t</div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00046">posix.h:46</a></div></div>
<div class="ttc" id="structutimbuf_html_a7588ffe699a9eda52e94aa593bf7d6d8"><div class="ttname"><a href="structutimbuf.html#a7588ffe699a9eda52e94aa593bf7d6d8">utimbuf::modtime</a></div><div class="ttdeci">time_t modtime</div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00127">posix.h:127</a></div></div>
<div class="ttc" id="posix_8h_html_ac37bff9f639fa95401b71839bbabd9a0"><div class="ttname"><a href="posix_8h.html#ac37bff9f639fa95401b71839bbabd9a0">ferror</a></div><div class="ttdeci">MEMSPACE int ferror(FILE *stream)</div><div class="ttdoc">ferror reports if the stream has an error flag set </div><div class="ttdef"><b>Definition:</b> <a href="posix_8c_source.html#l01798">posix.c:1798</a></div></div>
<div class="ttc" id="posix_8h_html_ac29db18b9f0e7e7d5c43d558ccffea6aa1c6a3022e8b55d43daf722d13d7e0669"><div class="ttname"><a href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aa1c6a3022e8b55d43daf722d13d7e0669">EOK</a></div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00063">posix.h:63</a></div></div>
<div class="ttc" id="posix_8h_html_a0b33c90b99d00a8bd2595f254d1409e1"><div class="ttname"><a href="posix_8h.html#a0b33c90b99d00a8bd2595f254d1409e1">baseext</a></div><div class="ttdeci">MEMSPACE char * baseext(char *str)</div><div class="ttdoc">File extention of a file name. NOT POSIX. </div><div class="ttdef"><b>Definition:</b> <a href="posix_8c_source.html#l01466">posix.c:1466</a></div></div>
<div class="ttc" id="posix_8h_html_a3e5e6f96d36b5cdacfaf6b3976cd5af2"><div class="ttname"><a href="posix_8h.html#a3e5e6f96d36b5cdacfaf6b3976cd5af2">open</a></div><div class="ttdeci">MEMSPACE int open(const char *pathname, int flags)</div><div class="ttdoc">POSIX Open a file with integer mode flags. </div><div class="ttdef"><b>Definition:</b> <a href="posix_8c_source.html#l00895">posix.c:895</a></div></div>
<div class="ttc" id="structstat_html_a9769ed8f0d4c5a9f329c32bc92479d56"><div class="ttname"><a href="structstat.html#a9769ed8f0d4c5a9f329c32bc92479d56">stat::st_ino</a></div><div class="ttdeci">ino_t st_ino</div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00108">posix.h:108</a></div></div>
<div class="ttc" id="posix_8h_html_a91ade11061b9b43b1edd37ff32f76591"><div class="ttname"><a href="posix_8h.html#a91ade11061b9b43b1edd37ff32f76591">fprintf</a></div><div class="ttdeci">MEMSPACE int fprintf(FILE *fp, const char *format,...)</div><div class="ttdoc">fprintf function Example user defined printf function using fputc for I/O This method allows I/O to d...</div><div class="ttdef"><b>Definition:</b> <a href="posix_8c_source.html#l02484">posix.c:2484</a></div></div>
<div class="ttc" id="cpu_8h_html_ad0fe97585b8891f5e4f2b9a6426330a4"><div class="ttname"><a href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a></div><div class="ttdeci">#define MEMSPACE</div><div class="ttdef"><b>Definition:</b> <a href="cpu_8h_source.html#l00025">cpu.h:25</a></div></div>
<div class="ttc" id="posix_8h_html_ac29db18b9f0e7e7d5c43d558ccffea6aaf8ee28f2eeab568a1b641f6ffc1f90a8"><div class="ttname"><a href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aaf8ee28f2eeab568a1b641f6ffc1f90a8">ENFILE</a></div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00086">posix.h:86</a></div></div>
<div class="ttc" id="posix_8h_html_ac29db18b9f0e7e7d5c43d558ccffea6aa9e5433f0863ce3470329184a3ee495a7"><div class="ttname"><a href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aa9e5433f0863ce3470329184a3ee495a7">ESPIPE</a></div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00092">posix.h:92</a></div></div>
<div class="ttc" id="posix_8h_html_ac29db18b9f0e7e7d5c43d558ccffea6aa8cd7a7b948ee085bbaeb2a210b412d6e"><div class="ttname"><a href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aa8cd7a7b948ee085bbaeb2a210b412d6e">ENOTDIR</a></div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00083">posix.h:83</a></div></div>
<div class="ttc" id="posix_8h_html_a5569b17fdf47f9bb7e3b4b94aa083c39"><div class="ttname"><a href="posix_8h.html#a5569b17fdf47f9bb7e3b4b94aa083c39">gid_t</a></div><div class="ttdeci">uint16_t gid_t</div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00050">posix.h:50</a></div></div>
<div class="ttc" id="posix_8h_html_a9e3c03dae15b90102eb1770dd95adadc"><div class="ttname"><a href="posix_8h.html#a9e3c03dae15b90102eb1770dd95adadc">nlink_t</a></div><div class="ttdeci">uint32_t nlink_t</div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00048">posix.h:48</a></div></div>
<div class="ttc" id="posix_8h_html_af104a2c05bef787e54c6925616e867df"><div class="ttname"><a href="posix_8h.html#af104a2c05bef787e54c6925616e867df">read</a></div><div class="ttdeci">MEMSPACE ssize_t read(int fd, const void *buf, size_t count)</div><div class="ttdoc">POSIX read count bytes from *buf to fileno fd. </div><div class="ttdef"><b>Definition:</b> <a href="posix_8c_source.html#l01006">posix.c:1006</a></div></div>
<div class="ttc" id="posix_8h_html_a48dc1df1627501d3faed4bf1f9801759"><div class="ttname"><a href="posix_8h.html#a48dc1df1627501d3faed4bf1f9801759">close</a></div><div class="ttdeci">MEMSPACE int close(int fileno)</div><div class="ttdoc">POSIX Close a file with fileno handel. </div><div class="ttdef"><b>Definition:</b> <a href="posix_8c_source.html#l00685">posix.c:685</a></div></div>
<div class="ttc" id="stringsup_8h_html_a399da2caab82ec1bb3d5a8fbc5306768"><div class="ttname"><a href="stringsup_8h.html#a399da2caab82ec1bb3d5a8fbc5306768">WEAK_ATR</a></div><div class="ttdeci">#define WEAK_ATR</div><div class="ttdef"><b>Definition:</b> <a href="stringsup_8h_source.html#l00033">stringsup.h:33</a></div></div>
<div class="ttc" id="posix_8h_html_ac29db18b9f0e7e7d5c43d558ccffea6aa755e0cbde2880a406893ad61304bac29"><div class="ttname"><a href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aa755e0cbde2880a406893ad61304bac29">E2BIG</a></div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00070">posix.h:70</a></div></div>
<div class="ttc" id="structstat_html_ab74d1e7e345e88b9d0fb2688a97cba64"><div class="ttname"><a href="structstat.html#ab74d1e7e345e88b9d0fb2688a97cba64">stat::st_atime</a></div><div class="ttdeci">time_t st_atime</div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00117">posix.h:117</a></div></div>
<div class="ttc" id="posix_8h_html_aa964d662c19b2021d9cfd0c71bc686bd"><div class="ttname"><a href="posix_8h.html#aa964d662c19b2021d9cfd0c71bc686bd">unlink</a></div><div class="ttdeci">MEMSPACE int unlink(const char *pathname)</div><div class="ttdoc">POSIX delete a file. </div><div class="ttdef"><b>Definition:</b> <a href="posix_8c_source.html#l01693">posix.c:1693</a></div></div>
<div class="ttc" id="posix_8h_html_ac29db18b9f0e7e7d5c43d558ccffea6aa56198247acea7520ae5c6005fbe76a31"><div class="ttname"><a href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aa56198247acea7520ae5c6005fbe76a31">EROFS</a></div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00093">posix.h:93</a></div></div>
<div class="ttc" id="posix_8h_html_a607feb06d296e0ff60d5a19538bd17fc"><div class="ttname"><a href="posix_8h.html#a607feb06d296e0ff60d5a19538bd17fc">posix_fopen_modes_to_open</a></div><div class="ttdeci">MEMSPACE int posix_fopen_modes_to_open(const char *mode)</div><div class="ttdoc">Convert POSIX fopen mode to POSIX open mode flags. NOT POSIX. </div><div class="ttdef"><b>Definition:</b> <a href="posix_8c_source.html#l02418">posix.c:2418</a></div></div>
<div class="ttc" id="structFIL_html"><div class="ttname"><a href="structFIL.html">FIL</a></div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00161">ff.h:161</a></div></div>
<div class="ttc" id="posix_8h_html_ac29db18b9f0e7e7d5c43d558ccffea6aae63e89f8fc44ef75addd0c1acc9c4828"><div class="ttname"><a href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aae63e89f8fc44ef75addd0c1acc9c4828">ECHILD</a></div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00073">posix.h:73</a></div></div>
<div class="ttc" id="posix_8h_html_ac29db18b9f0e7e7d5c43d558ccffea6aa6d2c32b1730ea078f2802b34b1258a4c"><div class="ttname"><a href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aa6d2c32b1730ea078f2802b34b1258a4c">EIO</a></div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00068">posix.h:68</a></div></div>
<div class="ttc" id="posix_8h_html_ac29db18b9f0e7e7d5c43d558ccffea6aa996f6f948b613bccc738ff8517413c1a"><div class="ttname"><a href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aa996f6f948b613bccc738ff8517413c1a">ENOENT</a></div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00065">posix.h:65</a></div></div>
<div class="ttc" id="posix_8h_html_a4ce26afbb10890d31c53a8ff76d992e3"><div class="ttname"><a href="posix_8h.html#a4ce26afbb10890d31c53a8ff76d992e3">perror</a></div><div class="ttdeci">MEMSPACE void perror(const char *s)</div><div class="ttdoc">POSIX perror() - convert POSIX errno to text with user message. </div><div class="ttdef"><b>Definition:</b> <a href="posix_8c_source.html#l01814">posix.c:1814</a></div></div>
<div class="ttc" id="structstat_html_a040e19c8b9766f841fde8786ce9297bf"><div class="ttname"><a href="structstat.html#a040e19c8b9766f841fde8786ce9297bf">stat::st_size</a></div><div class="ttdeci">off_t st_size</div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00114">posix.h:114</a></div></div>
<div class="ttc" id="send_8c_html_aba7bc1797add20fe3efdf37ced1182c5"><div class="ttname"><a href="send_8c.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a></div><div class="ttdeci">unsigned char uint8_t</div><div class="ttdef"><b>Definition:</b> <a href="send_8c_source.html#l00017">send.c:17</a></div></div>
<div class="ttc" id="posix_8h_html_ac29db18b9f0e7e7d5c43d558ccffea6a"><div class="ttname"><a href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6a">POSIX_errno</a></div><div class="ttdeci">POSIX_errno</div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00061">posix.h:61</a></div></div>
<div class="ttc" id="struct____file_html_a8d11df8679502efee09740f97d7c277b"><div class="ttname"><a href="struct____file.html#a8d11df8679502efee09740f97d7c277b">__file::flags</a></div><div class="ttdeci">uint8_t flags</div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00159">posix.h:159</a></div></div>
<div class="ttc" id="posix_8h_html_a072435300ac99e8d7c3749f45166e797"><div class="ttname"><a href="posix_8h.html#a072435300ac99e8d7c3749f45166e797">write</a></div><div class="ttdeci">MEMSPACE ssize_t write(int fd, const void *buf, size_t count)</div><div class="ttdoc">POSIX Write count bytes from *buf to fileno fd. </div><div class="ttdef"><b>Definition:</b> <a href="posix_8c_source.html#l01180">posix.c:1180</a></div></div>
<div class="ttc" id="posix_8h_html_a732642e09075838bbbca28b3529f13db"><div class="ttname"><a href="posix_8h.html#a732642e09075838bbbca28b3529f13db">utime</a></div><div class="ttdeci">MEMSPACE int utime(const char *filename, const struct utimbuf *times)</div><div class="ttdoc">Set Modification and Access time of a file. </div><div class="ttdef"><b>Definition:</b> <a href="posix_8c_source.html#l01407">posix.c:1407</a></div></div>
<div class="ttc" id="posix_8h_html_a390f3028d0805a15c3d28ee27439c389"><div class="ttname"><a href="posix_8h.html#a390f3028d0805a15c3d28ee27439c389">blksize_t</a></div><div class="ttdeci">uint32_t blksize_t</div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00053">posix.h:53</a></div></div>
<div class="ttc" id="structstat_html_a38d474e1ae3cf6fbdde89ac3c3e308f1"><div class="ttname"><a href="structstat.html#a38d474e1ae3cf6fbdde89ac3c3e308f1">stat::st_blksize</a></div><div class="ttdeci">blksize_t st_blksize</div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00115">posix.h:115</a></div></div>
<div class="ttc" id="posix_8h_html_ac29db18b9f0e7e7d5c43d558ccffea6aa523e02a73d840e490c14a179a997627e"><div class="ttname"><a href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aa523e02a73d840e490c14a179a997627e">EEXIST</a></div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00080">posix.h:80</a></div></div>
<div class="ttc" id="posix_8h_html_a38496612f759733234128893e4c60a89"><div class="ttname"><a href="posix_8h.html#a38496612f759733234128893e4c60a89">free_file_descriptor</a></div><div class="ttdeci">MEMSPACE int free_file_descriptor(int fileno)</div><div class="ttdoc">Free POSIX fileno FILE descriptor. NOT POSIX. </div><div class="ttdef"><b>Definition:</b> <a href="posix_8c_source.html#l02311">posix.c:2311</a></div></div>
<div class="ttc" id="posix_8h_html_a73a95c4a93875be906e573c00b30c5ea"><div class="ttname"><a href="posix_8h.html#a73a95c4a93875be906e573c00b30c5ea">truncate</a></div><div class="ttdeci">MEMSPACE int truncate(const char *path, off_t length)</div><div class="ttdoc">POSIX truncate named file to length. </div><div class="ttdef"><b>Definition:</b> <a href="posix_8c_source.html#l01142">posix.c:1142</a></div></div>
<div class="ttc" id="structstat_html_a77e235090f8cb6897f1c0ce65689006b"><div class="ttname"><a href="structstat.html#a77e235090f8cb6897f1c0ce65689006b">stat::st_mtime</a></div><div class="ttdeci">time_t st_mtime</div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00118">posix.h:118</a></div></div>
<div class="ttc" id="posix_8h_html_afd709f201d7643c3909621f620ea648a"><div class="ttname"><a href="posix_8h.html#afd709f201d7643c3909621f620ea648a">MAX_NAME_LEN</a></div><div class="ttdeci">#define MAX_NAME_LEN</div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00133">posix.h:133</a></div></div>
<div class="ttc" id="posix_8h_html_ab38efc888190556f106cafb08d17d16f"><div class="ttname"><a href="posix_8h.html#ab38efc888190556f106cafb08d17d16f">getchar</a></div><div class="ttdeci">MEMSPACE int getchar(void)</div><div class="ttdoc">functions normally defined as macros </div><div class="ttdef"><b>Definition:</b> <a href="posix_8c_source.html#l00336">posix.c:336</a></div></div>
<div class="ttc" id="posix_8h_html_ad31144743f0014784193221563ca8dd2"><div class="ttname"><a href="posix_8h.html#ad31144743f0014784193221563ca8dd2">fseek</a></div><div class="ttdeci">MEMSPACE int fseek(FILE *stream, long offset, int whence)</div><div class="ttdoc">POSIX seek to file possition. </div><div class="ttdef"><b>Definition:</b> <a href="posix_8c_source.html#l00545">posix.c:545</a></div></div>
<div class="ttc" id="structstat_html_a4a8708a3d18be60ee7b2f06c4cab0c70"><div class="ttname"><a href="structstat.html#a4a8708a3d18be60ee7b2f06c4cab0c70">stat::st_uid</a></div><div class="ttdeci">uid_t st_uid</div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00111">posix.h:111</a></div></div>
<div class="ttc" id="posix_8h_html_a148630cbecc0822d9395f002691ffe75"><div class="ttname"><a href="posix_8h.html#a148630cbecc0822d9395f002691ffe75">fwrite</a></div><div class="ttdeci">MEMSPACE size_t fwrite(const void *ptr, size_t size, size_t nmemb, FILE *stream)</div><div class="ttdoc">POSIX write nmemb elements from buf, size bytes each, to the stream fd. </div><div class="ttdef"><b>Definition:</b> <a href="posix_8c_source.html#l00868">posix.c:868</a></div></div>
<div class="ttc" id="posix_8h_html_ac29db18b9f0e7e7d5c43d558ccffea6aaf740610de680c2861ac4042ad4485d15"><div class="ttname"><a href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aaf740610de680c2861ac4042ad4485d15">EFAULT</a></div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00077">posix.h:77</a></div></div>
<div class="ttc" id="posix_8h_html_ac29db18b9f0e7e7d5c43d558ccffea6aae573afaecfe768915268b5c70823ee70"><div class="ttname"><a href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aae573afaecfe768915268b5c70823ee70">EPIPE</a></div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00095">posix.h:95</a></div></div>
<div class="ttc" id="posix_8h_html_aaeac2b41e8c2c3a5f91c9bd511a8c0a6"><div class="ttname"><a href="posix_8h.html#aaeac2b41e8c2c3a5f91c9bd511a8c0a6">closedir</a></div><div class="ttdeci">int closedir(DIR *dirp)</div><div class="ttdoc">POSIX closedir. </div><div class="ttdef"><b>Definition:</b> <a href="posix_8c_source.html#l01717">posix.c:1717</a></div></div>
<div class="ttc" id="posix_8h_html_a3759827e157badd49d076bd157f508d9"><div class="ttname"><a href="posix_8h.html#a3759827e157badd49d076bd157f508d9">fgets</a></div><div class="ttdeci">MEMSPACE char * fgets(char *str, int size, FILE *stream)</div><div class="ttdoc">get a string from stdin See fdevopen() sets stream-&gt;put get for TTY devices </div><div class="ttdef"><b>Definition:</b> <a href="posix_8c_source.html#l00420">posix.c:420</a></div></div>
<div class="ttc" id="posix_8h_html_a178d5d21b21c0f60d6ff8dfbbc0d86f5"><div class="ttname"><a href="posix_8h.html#a178d5d21b21c0f60d6ff8dfbbc0d86f5">fat_time_to_unix</a></div><div class="ttdeci">MEMSPACE time_t fat_time_to_unix(uint16_t date, uint16_t time)</div><div class="ttdoc">Convert FatFs file date and time to POSIX epoch seconds. NOT POSIX. </div><div class="ttdef"><b>Definition:</b> <a href="posix_8c_source.html#l02227">posix.c:2227</a></div></div>
<div class="ttc" id="posix_8h_html_af53dca187c78408fe2f1958c4eb88603"><div class="ttname"><a href="posix_8h.html#af53dca187c78408fe2f1958c4eb88603">ftell</a></div><div class="ttdeci">MEMSPACE long ftell(FILE *stream)</div><div class="ttdoc">POSIX file position of open stream. </div><div class="ttdef"><b>Definition:</b> <a href="posix_8c_source.html#l00585">posix.c:585</a></div></div>
<div class="ttc" id="posix_8h_html_a6080dee579486f132062435577b77d10"><div class="ttname"><a href="posix_8h.html#a6080dee579486f132062435577b77d10">rmdir</a></div><div class="ttdeci">MEMSPACE int rmdir(const char *pathname)</div><div class="ttdoc">POSIX delete a directory. </div><div class="ttdef"><b>Definition:</b> <a href="posix_8c_source.html#l01671">posix.c:1671</a></div></div>
<div class="ttc" id="structstat_html_ab864f16f436cec370f0ced585d897698"><div class="ttname"><a href="structstat.html#ab864f16f436cec370f0ced585d897698">stat::st_gid</a></div><div class="ttdeci">gid_t st_gid</div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00112">posix.h:112</a></div></div>
<div class="ttc" id="struct____file_html_aff4a1ca8b6a12460812928afae81248d"><div class="ttname"><a href="struct____file.html#aff4a1ca8b6a12460812928afae81248d">__file::size</a></div><div class="ttdeci">int size</div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00175">posix.h:175</a></div></div>
<div class="ttc" id="struct____file_html_abe6f3bdb4df4119277132eb3e13a4628"><div class="ttname"><a href="struct____file.html#abe6f3bdb4df4119277132eb3e13a4628">__file::udata</a></div><div class="ttdeci">void * udata</div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00180">posix.h:180</a></div></div>
<div class="ttc" id="posix_8h_html_ac29db18b9f0e7e7d5c43d558ccffea6aa952ba8aa5afef31b7893ed91ae13a56c"><div class="ttname"><a href="posix_8h.html#ac29db18b9f0e7e7d5c43d558ccffea6aa952ba8aa5afef31b7893ed91ae13a56c">EBADMSG</a></div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00098">posix.h:98</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Jan 31 2018 21:22:16 for ESP8266 ILI9341 display support code with printf sources, wire-frame viewer and custom fonts by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
